Bug 214649 [Markers] Allow markerAttributeGroupings and markerGroups to be specified within contentGenerators
With everything at the top level it is hard to see the relation to a contentGenerator and the groups and attribute groupings. These should be sub elements a la menus.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/CachedMarkerBuilder.java
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)
				categoryGroup = group;
		}
	}
	/**
	 * Initialise the visible fields based pm
	 */
	private void initialiseVisibleFields() {
		MarkerField[] initialFields = getGenerator().getInitialVisible();
		visibleFields = new MarkerField[initialFields.length];
		System.arraycopy(initialFields, 0, visibleFields, 0,
				initialFields.length);
	}
	/**