Community
Participate
Working Groups
20071016 The Navigate-> Show In contribution is used in a pile of places (like the markers views) and we need a command defined for it so that we use it in a commands only story. Here is where we do this internally in WorkbenchActionBuilder#createNavigateMenu() menu.add(new Separator(IWorkbenchActionConstants.SHOW_EXT)); { MenuManager showInSubMenu = new MenuManager(IDEWorkbenchMessages.Workbench_showIn, "showIn") { //$NON-NLS-1$ public String getMenuText() { String result = super.getMenuText(); if (showInQuickMenu == null) { return null; } String shortCut = showInQuickMenu.getShortCutString(); if (shortCut == null) { return result; } return result + "\t" + shortCut; //$NON-NLS-1$ } }; showInSubMenu.add(ContributionItemFactory.VIEWS_SHOW_IN .create(getWindow())); menu.add(showInSubMenu); }
Sounds like the same as bug 182018.
*** This bug has been marked as a duplicate of bug 182018 ***