| org.eclipse.ui.menus.IContributionRoot
All known Subclasses: org.eclipse.ui.internal.menus.ContributionRoot,
IContributionRoot | public interface IContributionRoot (Code) | | 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.
since: 3.3 |
Method Summary | |
public 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. | public void | registerVisibilityForChild(IContributionItem item, Expression visibleWhen) Registers visibilty for arbitrary
IContributionItem instances
that are NOT direct children of this container. |
registerVisibilityForChild | public void registerVisibilityForChild(IContributionItem item, Expression visibleWhen)(Code) | | Registers visibilty for arbitrary
IContributionItem instances
that are NOT direct children of this container. Ie: children of a
IContributionManager that has been previously registered with a
call to {
IContributionRoot.addContributionItem(IContributionItem,Expression) .
Parameters: item - the item for which to register a visibility clause Parameters: visibleWhen - the visibility expression. May be null in whichcase this method is a no-op. |
|
|