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, setParent, setVisible, toString, update, updateprotected 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 IContributionItemisGroupMarker in class ContributionItemtrue if this item is a group marker, and
false for normal itemsGroupMarker,
IContributionManager.appendToGroup(String, IContributionItem),
IContributionManager.prependToGroup(String, IContributionItem)Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.