Package org.eclipse.jface.action

Examples of org.eclipse.jface.action.IContributionManagerOverrides


          windowMenu.add(openPreferencesItem);
    }
   
    MenuManager helpMenu = new MenuManager(Messages.ApplicationActionBarAdvisor_menu_help,
        IWorkbenchActionConstants.M_HELP);
    helpMenu.setOverrides(new IContributionManagerOverrides() {
      /* (non-Javadoc)
       * @see org.eclipse.jface.action.IContributionManagerOverrides#getVisible(org.eclipse.jface.action.IContributionItem)
       */
      @Override
      public Boolean getVisible(IContributionItem item) {
View Full Code Here


     * @see org.eclipse.jface.action.IContributionManager#getOverrides()
     */
    public IContributionManagerOverrides getOverrides() {
        if (overrides == null) {
            if (parent == null) {
                overrides = new IContributionManagerOverrides() {
                    public Integer getAccelerator(IContributionItem item) {
                        return null;
                    }

                    public String getAcceleratorText(IContributionItem item) {
View Full Code Here

TOP

Related Classes of org.eclipse.jface.action.IContributionManagerOverrides

Copyright © 2018 www.massapicom. 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.