| org.eclipse.ui.actions.CompoundContributionItem
All known Subclasses: org.eclipse.ui.actions.BaseNewWizardMenu,
CompoundContributionItem | abstract public class CompoundContributionItem extends ContributionItem (Code) | | A compound contribution is a contribution item consisting of a
dynamic list of contribution items.
since: 3.1 |
Method Summary | |
public void | fill(Menu menu, int index) | abstract protected IContributionItem[] | getContributionItems() Return a list of contributions items that will replace this item in the
parent manager. | public boolean | isDirty() | public boolean | isDynamic() | public void | setParent(IContributionManager parent) |
CompoundContributionItem | protected CompoundContributionItem()(Code) | | Creates a compound contribution item with a null id.
|
CompoundContributionItem | protected CompoundContributionItem(String id)(Code) | | Creates a compound contribution item with the given (optional) id.
Parameters: id - the contribution item identifier, or null |
fill | public void fill(Menu menu, int index)(Code) | | |
getContributionItems | abstract protected IContributionItem[] getContributionItems()(Code) | | Return a list of contributions items that will replace this item in the
parent manager. The list must contain new contribution items every call
since the old ones will be disposed.
an array list of items to display. Must not be null . |
isDirty | public boolean isDirty()(Code) | | |
isDynamic | public boolean isDynamic()(Code) | | |
setParent | public void setParent(IContributionManager parent)(Code) | | |
|
|