public class SubToolBarManager extends SubContributionManager implements IToolBarManager
SubToolBarManager monitors the additional and removal of
items from a parent manager so that visibility of the entire set can be changed as a
unit.| Constructor and Description |
|---|
SubToolBarManager(IToolBarManager mgr)
Constructs a new manager.
|
| Modifier and Type | Method and Description |
|---|---|
protected IToolBarManager |
getParentToolBarManager()
Returns the parent toolbar manager that this sub-manager contributes to.
|
void |
update(boolean force)
Updates this manager's underlying widget(s) with any changes which
have been made to it or its items.
|
add, add, appendToGroup, appendToGroup, disposeManager, find, getItems, getOverrides, getParent, insertAfter, insertAfter, insertBefore, insertBefore, isDirty, isEmpty, isVisible, itemAdded, itemRemoved, items, markDirty, prependToGroup, prependToGroup, remove, remove, removeAll, setVisible, unwrap, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, appendToGroup, appendToGroup, find, getItems, getOverrides, insertAfter, insertAfter, insertBefore, insertBefore, isDirty, isEmpty, markDirty, prependToGroup, prependToGroup, remove, remove, removeAllpublic SubToolBarManager(IToolBarManager mgr)
mgr - the parent manager. All contributions made to the
SubToolBarManager are forwarded and appear in the
parent manager.protected final IToolBarManager getParentToolBarManager()
public void update(boolean force)
IContributionManagerupdate in interface IContributionManagerforce - true means update even if not dirty,
and false for normal incremental updatingGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.