Examples of createContextMenu()


Examples of org.eclipse.jface.action.MenuManager.createContextMenu()

      public void menuAboutToShow(IMenuManager manager) {
        NotesView.this.fillContextMenu(manager);
      }
    });
   
    Menu menu = menuMgr.createContextMenu(textViewer.getControl());
    textViewer.getControl().setMenu(menu);
    getSite().registerContextMenu(menuMgr, textViewer);
  }
 
  private void contributeToActionBars()
View Full Code Here

Examples of org.locationtech.udig.internal.ui.operations.OperationCategory.createContextMenu()

                // a category, only always the entire thing.
                if (contextManager.getItems().length >= 15 && category.getActions().size() > 5) {
                    break;
                }

                MenuManager menu = category.createContextMenu();

                if ((i != 0 && menu.getItems().length != 0)
                        && (secondaryCategories.size() != 0 || getOperationMenuFactory()
                                .getActions().size() != 0)) {
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.