Class GroupMarker

All Implemented Interfaces:
IContributionItem
Direct Known Subclasses:
CoolItemGroupMarker

@NoExtend public class GroupMarker extends AbstractGroupMarker
A group marker is a special kind of contribution item denoting the beginning of a group. These groups are used to structure the list of items. Unlike regular contribution items and separators, group markers have no visual representation. The name of the group is synonymous with the contribution item id.

This class may be instantiated; it is not intended to be subclassed outside the framework.

  • Constructor Details

    • GroupMarker

      public GroupMarker(String groupName)
      Create a new group marker with the given name. The group name must not be null or the empty string. The group name is also used as the item id.
      Parameters:
      groupName - the name of the group
  • Method Details

    • isVisible

      public boolean isVisible()
      The GroupMarker implementation of this method returns false since group markers are always invisible.
      Specified by:
      isVisible in interface IContributionItem
      Overrides:
      isVisible in class ContributionItem
      Returns:
      true if this item is visible, and false otherwise