Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Platform
Release 3.5

Class SubToolBarManager

  extended by 

      extended by 
All Implemented Interfaces:
IContributionManager, IToolBarManager

public class SubToolBarManager
extends SubContributionManager
implements IToolBarManager

A 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 Summary
SubToolBarManager ( IToolBarManager mgr)
          Constructs a new manager.
Method Summary
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.
Methods inherited from class org.eclipse.jface.action. SubContributionManager
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
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jface.action. IContributionManager
add, add, appendToGroup, appendToGroup, find, getItems, getOverrides, insertAfter, insertAfter, insertBefore, insertBefore, isDirty, isEmpty, markDirty, prependToGroup, prependToGroup, remove, remove, removeAll

Constructor Detail


public SubToolBarManager(
IToolBarManager mgr)
Constructs a new manager.

mgr - the parent manager. All contributions made to the SubToolBarManager are forwarded and appear in the parent manager.
Method Detail


protected final 
IToolBarManager getParentToolBarManager()
the parent toolbar manager that this sub-manager contributes to


public void update(boolean force)
Description copied from interface: IContributionManager
Updates this manager's underlying widget(s) with any changes which have been made to it or its items. Normally changes to a contribution manager merely mark it as dirty, without updating the underlying widgets. This brings the underlying widgets up to date with any changes.

Specified by:
update in interface IContributionManager
force - true means update even if not dirty, and false for normal incremental updating

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire