Class MarkerGroup

java.lang.Object
org.eclipse.ui.views.markers.internal.MarkerGroup
Direct Known Subclasses:
TypeMarkerGroup

public class MarkerGroup extends Object
Since:
3.2
  • Field Details

  • Constructor Details

    • MarkerGroup

      protected MarkerGroup(IConfigurationElement element)
      Create a new instance of the receiver called name with id identifier.
  • Method Details

    • createMarkerGroup

      public static MarkerGroup createMarkerGroup(IConfigurationElement element)
      Create a new MarkerGroup from element.
      Returns:
      MarkerGroup
    • createFields

      protected void createFields()
      Create the fields for the marker views.
    • findGroupValue

      public MarkerGroupingEntry findGroupValue(String type, IMarker marker)
      Find the group for the marker of the specified marker type.
      Returns:
      MarkerGroupingEntry
    • getField

      public IField getField()
      Return the field for the receiver.
      Returns:
      IField
    • getId

      public String getId()
      Return the id of the receiver.
      Returns:
      String
    • getMarkerField

      public MarkerField getMarkerField()
      Return the markerField for the receiver.
      Returns:
      MarkerField
    • getTitle

      public String 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

      public void remove(MarkerGroupingEntry entry)
      Remove the entry from all of the entries in the receiver.
    • setAsDefault

      public void setAsDefault(String markerType, MarkerGroupingEntry entry)
      Set entry and the default entry for the supplied markerType.
    • unmap

      public void unmap(AttributeMarkerGrouping attributeMarkerGrouping)
      Unmap the attributeMarkerGrouping from the receiver.
    • getEntriesComparator

      public Comparator<MarkerGroupingEntry> getEntriesComparator()
      Returns the comparator that can be used for sorting the MarkerGroupingEntry(s) in the group.
      Returns:
      Comparator