Bug 208101 [Markers] Tasks content has mark completed enabled for non editable tasks
I20071030-0100 Mark completed is enabled for tasks that are not editable
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/provisional/views/markers/ExtendedMarkersView.java
}
		if (generator == null) {
			String id = site.getId();
			if (id.equals(IPageLayout.ID_BOOKMARKS))
				generator = MarkerSupportRegistry.getInstance().getGenerator(
						MarkerSupportRegistry.BOOKMARKS_GENERATOR);
			else if (id.equals(IPageLayout.ID_TASK_LIST))
				generator = MarkerSupportRegistry.getInstance().getGenerator(
						MarkerSupportRegistry.TASKS_GENERATOR);
			else if (id.equals(IPageLayout.ID_PROBLEM_VIEW))
				generator = MarkerSupportRegistry.getInstance().getGenerator(
						MarkerSupportRegistry.PROBLEMS_GENERATOR);
		}
		if (generator == null)
			generator = MarkerSupportRegistry.getInstance().generatorFor(
					site.getPage().getPerspective());
		else
			generator.setMemento(memento);
		
		IMenuService menuService = (IMenuService) site
				.getService(IMenuService.class);
		menuService.populateContributionManager((ContributionManager) site
				.getActionBars().getMenuManager(), "menu:" 
				+ MarkerSupportRegistry.ALL_MARKERS_ID);
		menuService.populateContributionManager((ContributionManager) site
				.getActionBars().getToolBarManager(),
				"toolbar:" + MarkerSupportRegistry.ALL_MARKERS_ID); 
		builder = new CachedMarkerBuilder(generator);
		builder.setUpdateJob(getUpdateJob(builder));
		Object service = site.getAdapter(IWorkbenchSiteProgressService.class);