Bug 213014 [Markers] New view doesn't rank fatal errors first any longer when sorting per Java type
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerGroup.java
public void setAsDefault(String markerType, MarkerGroupingEntry entry) {
		addEntry(markerType, new EntryMapping(entry));
	}
	/**
	 * Return whether or not there is a markerSupportReference for the
	 * markerContentGenerator keyed by id.
	 * 
	 * @param id
	 * @return boolean
	 */
	public boolean isGroupingFor(String id) {
		IConfigurationElement[] references = configurationElement
				.getChildren(MarkerSupportRegistry.MARKER_SUPPORT_REFERENCE);
		
		
		if (references.length == 0 && id.equals(PROBLEMS_CONTENTS))
			return true;
		for (int i = 0; i < references.length; i++) {
			
			if (references[i].getAttribute(MarkerSupportConstants.ATTRIBUTE_ID)
					.equals(id)
					&& references[i].getAttribute(
							MarkerSupportConstants.ATTRIBUTE_TYPE).equals(
							MarkerSupportRegistry.MARKER_CONTENT_GENERATOR))
				return true;
		}
		return false;
	}
}