Package org.eclipse.jface.action

Examples of org.eclipse.jface.action.ICoolBarManager.update()


        for (int j = 0; j < items.length; j++) {
          if (items[j] instanceof ToolBarContributionItem) {
            IToolBarManager tbm = ((ToolBarContributionItem) items[j])
                .getToolBarManager();
            if (mgr == tbm) {
              cb.update(true);
              return true;
            }
          }
        }
      }
View Full Code Here


        super.postWindowOpen();
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        ICoolBarManager coolBar = configurer.getActionBarConfigurer().getCoolBarManager();
        coolBar.removeAll();
        actionBarAdvisor.fillCoolBar( coolBar );
        coolBar.update( true );
    }

    private static class ApplicationActionBarAdvisor extends ActionBarAdvisor
    {
        private Action preferencesAction;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.