public abstract class CompoundContributionItem extends ContributionItem
| Modifier | Constructor and Description |
|---|---|
protected |
CompoundContributionItem()
Creates a compound contribution item with a
null id. |
protected |
CompoundContributionItem(String id)
Creates a compound contribution item with the given (optional) id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fill(Menu menu,
int index)
The default implementation of this
IContributionItem
method does nothing. |
protected abstract IContributionItem[] |
getContributionItems() |
boolean |
isDirty()
The default implementation of this
IContributionItem
method returns false. |
boolean |
isDynamic()
The default implementation of this
IContributionItem
method returns false. |
void |
setParent(IContributionManager parent)
Sets the parent manager of this item
|
dispose, fill, fill, fill, getId, getParent, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setVisible, toString, update, updateprotected CompoundContributionItem()
null id.protected CompoundContributionItem(String id)
id - the contribution item identifier, or nullpublic void fill(Menu menu, int index)
ContributionItemIContributionItem
method does nothing. Subclasses may override.fill in interface IContributionItemfill in class ContributionItemmenu - the parent menuindex - the index where the controls are inserted,
or -1 to insert at the endprotected abstract IContributionItem[] getContributionItems()
public boolean isDirty()
ContributionItemIContributionItem
method returns false. Subclasses may override.isDirty in interface IContributionItemisDirty in class ContributionItemtrue if this item is dirtypublic boolean isDynamic()
ContributionItemIContributionItem
method returns false. Subclasses may override.isDynamic in interface IContributionItemisDynamic in class ContributionItemtrue if this item is dynamic, and
false for normal itemspublic void setParent(IContributionManager parent)
IContributionItemsetParent in interface IContributionItemsetParent in class ContributionItemparent - the parent contribution managerGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.