Searched refs:mMenuManager (Results 1 – 3 of 3) sorted by relevance
94 private final MenuManager mMenuManager; field in DynamicContextMenu112 mMenuManager = rootMenu; in DynamicContextMenu()125 final int numStaticActions = mMenuManager.getSize(); in setupDynamicMenuActions()126 mMenuManager.addMenuListener(new IMenuListener() { in setupDynamicMenuActions()132 int n = mMenuManager.getSize() - numStaticActions; in setupDynamicMenuActions()134 IContributionItem[] items = mMenuManager.getItems(); in setupDynamicMenuActions()136 mMenuManager.remove(items[i]); in setupDynamicMenuActions()154 String endId = mMenuManager.getItems()[0].getId(); in populateDynamicContextMenu()158 mMenuManager.insertBefore(endId, sep); in populateDynamicContextMenu()172 mMenuManager.insertBefore(endId, menuItem); in populateDynamicContextMenu()[all …]
164 private MenuManager mMenuManager; field in OutlinePage971 mMenuManager = new MenuManager(); in setupContextMenu()972 mMenuManager.removeAll(); in setupContextMenu()974 mMenuManager.add(mMoveUpAction); in setupContextMenu()975 mMenuManager.add(mMoveDownAction); in setupContextMenu()976 mMenuManager.add(new Separator()); in setupContextMenu()978 mMenuManager.add(new SelectionManager.SelectionMenu(mGraphicalEditorPart)); in setupContextMenu()979 mMenuManager.add(new Separator()); in setupContextMenu()981 mMenuManager.add(new DelegateAction(prefix + ActionFactory.CUT.getId())); in setupContextMenu()982 mMenuManager.add(new DelegateAction(prefix + ActionFactory.COPY.getId())); in setupContextMenu()[all …]
196 private MenuManager mMenuManager; field in LayoutCanvas940 if (mMenuManager == null || in getAction()948 for (IContributionItem contrib : mMenuManager.getItems()) { in getAction()1505 mMenuManager = new MenuManager() { in createContextMenu()1513 setupStaticMenuActions(mMenuManager); in createContextMenu()1514 new DynamicContextMenu(mEditorDelegate, this, mMenuManager); in createContextMenu()1515 Menu menu = mMenuManager.createContextMenu(this); in createContextMenu()