Class SubToolBarManager

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 Details

    • SubToolBarManager

      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 Details

    • getParentToolBarManager

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

      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