Class SubToolBarManager

    • Constructor Detail

      • SubToolBarManager

        public SubToolBarManager​(IToolBarManager mgr)
        Constructs a new manager.
        Parameters:
        mgr - the parent manager. All contributions made to the SubToolBarManager are forwarded and appear in the parent manager.
    • Method Detail

      • getParentToolBarManager

        protected final IToolBarManager getParentToolBarManager()
        Returns:
        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
        Parameters:
        force - true means update even if not dirty, and false for normal incremental updating