|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.action.ContributionItem
org.eclipse.jface.action.AbstractGroupMarker
public abstract class AbstractGroupMarker
Abstract superclass for group marker classes.
This class is not intended to be subclassed outside the framework.
| Constructor Summary | |
|---|---|
protected |
AbstractGroupMarker()
Constructor for use by subclasses. |
protected |
AbstractGroupMarker(String groupName)
Create a new group marker with the given name. |
| Method Summary | |
|---|---|
String |
getGroupName()
Returns the group name. |
boolean |
isGroupMarker()
The AbstractGroupMarker implementation of this IContributionItem
method returns true iff the id is not null. |
| Methods inherited from class org.eclipse.jface.action.ContributionItem |
|---|
dispose, fill, fill, fill, fill, getId, getParent, isDirty, isDynamic, isEnabled, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 group| Method Detail |
|---|
public 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)
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.