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() |
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, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, add, appendToGroup, appendToGroup, find, getItems, getOverrides, insertAfter, insertAfter, insertBefore, insertBefore, isDirty, isEmpty, markDirty, prependToGroup, prependToGroup, remove, remove, removeAll
public 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)
IContributionManager
update
in interface IContributionManager
force
- true
means update even if not dirty,
and false
for normal incremental updating
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.