Bug 221337 [Markers] MarkerItem has too much API
We are exposing too much as API in MarkerItem. We should only provide getAtttributeValue and the methods that support PATH_ATTRIBUTE and NAME_ATTRIBUTE as they are tricky. Everything else needs to be pushed down to an internal class. We should mention the relevant IMarker constants for those removed.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerGroup.java
if (item2.getMarker() == null)
				return -1;
			try {
				return (findGroupValue(item2.getMarker().getType(),
						item2.getMarker()).getPriority() - findGroupValue(
						item1.getMarker().getType(), item1.getMarker())
						.getPriority());
			} catch (CoreException exception) {
				Policy.handle(exception);
				return 0;
			}
		}
		/*
		 * (non-Javadoc)
		 * 
		 * @see org.eclipse.ui.internal.provisional.views.markers.api.MarkerField#getColumnHeaderText()
		 */
		public String getColumnHeaderText() {
			return markerGroup.getTitle();
		}
	}
	private static MarkerGroupingEntry undefinedEntry = new MarkerGroupingEntry(
			MarkerMessages.FieldCategory_Uncategorized);
	protected IField field;
	protected MarkerField markerField;
	private Map typesToMappings = new HashMap();
	private IConfigurationElement configurationElement;
	private String id;
	/**