public abstract class AbstractGroupMarker extends ContributionItem
This class is not intended to be subclassed outside the framework.
Modifier | Constructor and Description |
---|---|
protected |
AbstractGroupMarker()
Constructor for use by subclasses.
|
protected |
AbstractGroupMarker(String groupName)
Create a new group marker with the given name.
|
Modifier and Type | Method and Description |
---|---|
String |
getGroupName()
Returns the group name.
|
boolean |
isGroupMarker()
The
AbstractGroupMarker implementation of this IContributionItem
method returns true iff the id is not null . |
dispose, fill, fill, fill, fill, getId, getParent, isDirty, isDynamic, isEnabled, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update, update
protected AbstractGroupMarker()
protected AbstractGroupMarker(String groupName)
null
or the empty string.
The group name is also used as the item id.groupName
- the name of the grouppublic String getGroupName()
public boolean isGroupMarker()
AbstractGroupMarker
implementation of this IContributionItem
method returns true
iff the id is not null
. Subclasses may override.isGroupMarker
in interface IContributionItem
isGroupMarker
in class ContributionItem
true
if this item is a group marker, and
false
for normal itemsGroupMarker
,
IContributionManager.appendToGroup(String, IContributionItem)
,
IContributionManager.prependToGroup(String, IContributionItem)
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.