Class MarkerGroup
java.lang.Object
org.eclipse.ui.views.markers.internal.MarkerGroup
- Direct Known Subclasses:
TypeMarkerGroup
- Since:
- 3.2
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
MarkerGroup
(IConfigurationElement element) Create a new instance of the receiver called name with id identifier. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Create the fields for the marker views.static MarkerGroup
createMarkerGroup
(IConfigurationElement element) Create a new MarkerGroup from element.findGroupValue
(String type, IMarker marker) Find the group for the marker of the specified marker type.Returns the comparator that can be used for sorting the MarkerGroupingEntry(s) in the group.getField()
Return the field for the receiver.getId()
Return the id of the receiver.Return the markerField for the receiver.getTitle()
Return the title for the receiver.void
mapAttribute
(AttributeMarkerGrouping attributeGrouping, MarkerGroupingEntry entry, String attributeValue) Add an attributeMapping for the markerType.void
remove
(MarkerGroupingEntry entry) Remove the entry from all of the entries in the receiver.void
setAsDefault
(String markerType, MarkerGroupingEntry entry) Set entry and the default entry for the supplied markerType.void
unmap
(AttributeMarkerGrouping attributeMarkerGrouping) Unmap the attributeMarkerGrouping from the receiver.
-
Field Details
-
field
-
markerField
-
-
Constructor Details
-
MarkerGroup
Create a new instance of the receiver called name with id identifier.
-
-
Method Details
-
createMarkerGroup
Create a new MarkerGroup from element.- Returns:
- MarkerGroup
-
createFields
protected void createFields()Create the fields for the marker views. -
findGroupValue
Find the group for the marker of the specified marker type.- Returns:
- MarkerGroupingEntry
-
getField
Return the field for the receiver.- Returns:
IField
-
getId
Return the id of the receiver.- Returns:
- String
-
getMarkerField
Return the markerField for the receiver.- Returns:
- MarkerField
-
getTitle
Return the title for the receiver.- Returns:
- String
-
mapAttribute
public void mapAttribute(AttributeMarkerGrouping attributeGrouping, MarkerGroupingEntry entry, String attributeValue) Add an attributeMapping for the markerType. -
remove
Remove the entry from all of the entries in the receiver. -
setAsDefault
Set entry and the default entry for the supplied markerType. -
unmap
Unmap the attributeMarkerGrouping from the receiver. -
getEntriesComparator
Returns the comparator that can be used for sorting the MarkerGroupingEntry(s) in the group.- Returns:
- Comparator
-