|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IContributionRoot
Instances of this interface represent a position in the contribution
hierarchy into which AbstractContributionFactory instances may insert
elements. Instances of this interface are provided by the platform and this
interface should NOT be implemented by clients.
| Method Summary | |
|---|---|
void |
addContributionItem(IContributionItem item,
Expression visibleWhen)
Adds a given contribution item with provided visibility expression and kill-switch filtering as a direct child of this container. |
void |
registerVisibilityForChild(IContributionItem item,
Expression visibleWhen)
Registers visibilty for arbitrary IContributionItem instances
that are NOT direct children of this container. |
| Method Detail |
|---|
void addContributionItem(IContributionItem item,
Expression visibleWhen)
AbstractContributionFactory.createContributionItems(org.eclipse.ui.services.IServiceLocator, IContributionRoot)
item - the item to addvisibleWhen - the visibility expression. May be null.
void registerVisibilityForChild(IContributionItem item,
Expression visibleWhen)
IContributionItem instances
that are NOT direct children of this container. Ie: children of a
IContributionManager that has been previously registered with a
call to {addContributionItem(IContributionItem, Expression).
item - the item for which to register a visibility clausevisibleWhen - the visibility expression. May be null in which
case this method is a no-op.
|
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.