Package org.eclipse.jface.action

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


        tbm.add(acRefreshTree);
 
        // this forces the toolbar to get the actions that we just added. 
        // I think it should do it by default, (and it took me like 2 days to figure this one
        // method call out) but...  (stupid eclipse)
        tbm.update(true);
    }

   
    /**
     * Returns the tool bar manager that is used to manage tool items in the
View Full Code Here


      IAction updateAction = CheckUpdatesJob.createUpdateNotificationAction();
      updateAction.setImageDescriptor( InstaSearchPlugin.getImageDescriptor("lightbulb") );
     
      IToolBarManager mgr = getViewSite().getActionBars().getToolBarManager();
      mgr.add(updateAction);
      mgr.update(true);
     
      IMenuManager menuMgr = getViewSite().getActionBars().getMenuManager();
     
      menuMgr.add(updateAction);
     
View Full Code Here

    viewer.setLabelProvider(labelProvider);
    viewer.setSorter(sorter);
    createOpenAndLinkWithEditorHandler();
    IToolBarManager tbm = getSite().getActionBars().getToolBarManager();
    fillToolbar(tbm);
    tbm.update(true);
    pagebook.showPage(control);
    isBusyShowing = false;
    queryListener = createQueryListener();
    NewSearchUI.addQueryListener(queryListener);
  }
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.