Package org.eclipse.jface.action

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


          scheduler.setChecked(visible);
          IMenuManager otherManagerReference = CIShellApplication.getMenuManager();
          if(otherManagerReference == null) {
            System.err.println("The menu manager is still null. Surprise.");
          } else {
            otherManagerReference.update(true);
          }
        }
      });
      waitForBundleContext = false;
    }
View Full Code Here


    IMenuManager menuMgr= textEditor.getEditorSite().getActionBars().getMenuManager();
    IMenuManager editMenu= menuMgr.findMenuUsingPath(IWorkbenchActionConstants.M_EDIT);
    if (editMenu != null) {
      boolean isEnabled= quickAssistAction != null && quickAssistAction.isEnabled();
      fQuickAssistMenuEntry.setVisible(isEnabled);
      editMenu.update(true);
    }
   
    fRetargetShowInformationAction.setAction(getAction(textEditor, ITextEditorActionConstants.SHOW_INFORMATION));
  }
 
View Full Code Here

        r.setLayoutManager(ca);
        DisposeBindingListener.linkBindingLifeCycle(bnd, r);
        inputElementDialog.open();
      }
    });
    menuManager.update(true);

    IToolBarManager toolBarManager = getViewSite().getActionBars()
        .getToolBarManager();
    toolBarManager.add(new Action("Export Log") {
View Full Code Here

      // remove local menus
      IMenuManager menuManager = getMenuManager();
      if (menuManager != null) {
        removeLocalMenus(menuManager);
        menuManager.update(false);
      } else {
        Activator.getLogger().debug("############ NO MENUMANAGER!");
      }

      if (getActionBars() != null) {
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.