Example usage for Java org.eclipse.jface.action ICoolBarManager fields, constructors, methods, implement or subclass
The text is from its open source code.
String | SIZE Property name of a cool item's size (value "size" ). |
void | add(IToolBarManager toolBarManager) A convenience method to add a tool bar as a contribution item to this cool bar manager. |
IContributionItem | find(String id) Finds the contribution item with the given id. |
IContributionItem[] | getItems() Returns all contribution items known to this manager. |
int | getStyle() Returns the style of the underlying cool bar widget. |
void | insertAfter(String id, IAction action) Inserts a contribution item for the given action after the item with the given id. |
boolean | isDirty() Returns whether the list of contributions has recently changed and has yet to be reflected in the corresponding widgets. |
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 | setContextMenuManager(IMenuManager menuManager) Sets the context menu of this cool bar manager to the given menu manager. |
void | setLockLayout(boolean value) Locks or unlocks the layout of the underlying cool bar widget. |
void | update(boolean force) Updates this manager's underlying widget(s) with any changes which have been made to it or its items. |