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
categoryGroup = group;
		}
	}
	/**
	 * Initialise the visible fields based pm
	 */
	private void initialiseVisibleFields() {
		MarkerField[] fields = getGenerator().getAllFields();
		Collection visibleFieldList = new ArrayList();
		for (int i = 0; i < fields.length; i++) {
			if (fields[i].isInitiallyVisible())
				visibleFieldList.add(fields[i]);
		}
		visibleFields = new MarkerField[visibleFieldList.size()];
		visibleFieldList.toArray(visibleFields);
	}
	/**
	 * Add the resources in resourceMapping to the resourceCollection
	 * 
	 * @param resourceCollection
	 * @param resourceMapping
	 */
	private void addResources(Collection resourceCollection,
			ResourceMapping resourceMapping) {
		try {
			ResourceTraversal[] traversals = resourceMapping.getTraversals(
					ResourceMappingContext.LOCAL_CONTEXT,
					new NullProgressMonitor());
			for (int i = 0; i < traversals.length; i++) {
				ResourceTraversal traversal = traversals[i];