Examples of SubMenuManager


Examples of org.eclipse.jface.action.SubMenuManager

   * @param parent
   *            the parent menu manager
   * @return the menu manager
   */
  protected SubMenuManager createSubMenuManager(IMenuManager parent) {
    return new SubMenuManager(parent);
  }
View Full Code Here

Examples of org.eclipse.jface.action.SubMenuManager

    if (includeEditorInput) {
      bitSet |= INCLUDE_EDITOR_INPUT;
    }
    menu.addMenuListener(this);
    if (!menu.getRemoveAllWhenShown()) {
      menuWrapper = new SubMenuManager(menu);
      menuWrapper.setVisible(true);
    }
    readStaticActionsFor(id);
       
    Platform.getExtensionRegistry().addRegistryChangeListener(this);
View Full Code Here

Examples of org.eclipse.jface.action.SubMenuManager

    contextMenu.add(new Separator());
    contextMenu.add(showWhitespaceAction);
    contextMenu.add(new Separator());

    if (editable) {
      final SubMenuManager quickFixMenu = new SubMenuManager(contextMenu);
      quickFixMenu.setVisible(true);
      quickFixMenu.addMenuListener(new IMenuListener() {
        public void menuAboutToShow(IMenuManager manager) {
          quickFixMenu.removeAll();
          addProposals(quickFixMenu);
        }
      });
    }
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.