private static String getMarkerTypeLabel(IMarker marker) { try { String typeId = marker.getType(); return MarkersExtManager.getInstance().getLabelforTypeId(typeId); } catch (CoreException ce) { return ""; } }
private int compareType(IMarker marker1, IMarker marker2) { String desc1 = MarkersExtManager.getInstance().getLabelForMarkerType(marker1); String desc2 = MarkersExtManager.getInstance().getLabelForMarkerType(marker2); return desc1.compareToIgnoreCase(desc2); }