Example usage for Java org.eclipse.jface.action IContributionManager fields, constructors, methods, implement or subclass
The text is from its open source code.
void | add(IAction action) Adds an action as a contribution item to this manager. |
void | add(IContributionItem item) Adds a contribution item to this manager. |
void | appendToGroup(String groupName, IAction action) Adds a contribution item for the given action at the end of the group with the given name. |
void | appendToGroup(String groupName, IContributionItem item) Adds a contribution item to this manager at the end of the group with the given name. |
IContributionItem | find(String id) Finds the contribution item with the given id. |
IContributionItem[] | getItems() Returns all contribution items known to this manager. |
void | insertAfter(String id, IAction action) Inserts a contribution item for the given action after the item with the given id. |
void | insertAfter(String id, IContributionItem item) Inserts a contribution item after the item with the given id. |
void | insertBefore(String id, IAction action) Inserts a contribution item for the given action before the item with the given id. |
void | insertBefore(String id, IContributionItem item) Inserts a contribution item before the item with the given id. |
void | markDirty() Marks this contribution manager as dirty. |
void | prependToGroup(String groupName, IAction action) Adds a contribution item for the given action at the beginning of the group with the given name. |
void | prependToGroup(String groupName, IContributionItem item) Adds a contribution item to this manager at the beginning of the group with the given name. |
IContributionItem | remove(String id) Removes and returns the contribution item with the given id from this manager. |
IContributionItem | remove(IContributionItem item) Removes the given contribution item from the contribution items known to this manager. |
void | removeAll() Removes all contribution items from this manager. |
void | update(boolean force) Updates this manager's underlying widget(s) with any changes which have been made to it or its items. |