Example usage for Java org.eclipse.jface.action IToolBarManager 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 | appendToGroup(String groupName, IAction action) Adds a contribution item for the given action 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 | insertBefore(String id, IAction action) Inserts a contribution item for the given action before the item with the given id. |
boolean | isEmpty() Returns whether this manager has any contribution items. |
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. |
IContributionItem | remove(String id) Removes and returns the contribution item with the given id from 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. |