Bug 212408 [Markers] Markers updating during inconsistent state
We are updating during builds. As a result we get a lot of half constructed markers. We should 1) Cache default state 2) delay updates while a build is going on
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/provisional/views/markers/CachedMarkerBuilder.java
this.categoryGroup = null;
				else {
					MarkerGroup newGroup = MarkerSupportRegistry.getInstance()
							.getMarkerGroup(categoryGroupID);
					if (newGroup == null)
						setDefaultCategoryGroup(contentGenerator);
					else
						this.categoryGroup = newGroup;
				}
			}
		}
		createMarkerProcessJob();
		
		ResourcesPlugin.getWorkspace().addResourceChangeListener(
				getUpdateListener(),
				IResourceChangeEvent.POST_CHANGE
						| IResourceChangeEvent.PRE_BUILD
						| IResourceChangeEvent.POST_BUILD);
	}
	/**
	 * Categorise by the default setting for contentGenerator.
	 * 
	 * @param contentGenerator
	 */
	private void setDefaultCategoryGroup(MarkerContentGenerator contentGenerator) {
		String categoryName = contentGenerator.getCategoryName();
		if (categoryName != null) {
			MarkerGroup group = MarkerSupportRegistry.getInstance()
					.getMarkerGroup(categoryName);
			if (group != null)