Bug 49751 [Contributions] IWorkbenchActionConstants inconsistency
IWorkbenchActionConstants has M_VIEW but not M_PERSPECTIVE. The M_VIEW comment references the Perspective menu. Also it has M_WORKBENCH which I don't think is used any more. /** * Name of standard Perspective menu (value <code>"view"</code>). */ public static final String M_VIEW = MENU_PREFIX+"view"; //$NON-NLS-1$ /** * Name of standard Workbench menu (value <code>"workbench"</code>). */ public static final String M_WORKBENCH = MENU_PREFIX+"workbench"; // $NON-NLS-1$
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
}
	/**
	 * Creates and returns the Project menu.
	 */
	private MenuManager createProjectMenu() {
		MenuManager menu = new MenuManager(IDEWorkbenchMessages.getString("Workbench.project"), IWorkbenchActionConstants.M_PROJECT); 
		menu.add(new Separator(IWorkbenchActionConstants.PROJ_START));
		menu.add(openProjectAction);
		menu.add(closeProjectAction);
		menu.add(new GroupMarker(IWorkbenchActionConstants.OPEN_EXT));
		menu.add(new Separator());
		menu.add(rebuildProjectAction);
		menu.add(rebuildAllAction);
		menu.add(new GroupMarker(IWorkbenchActionConstants.BUILD_EXT));
		menu.add(new Separator());
		menu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
		menu.add(new GroupMarker(IWorkbenchActionConstants.PROJ_END));
		menu.add(new Separator());
		menu.add(projectPropertyDialogAction);
		return menu;
	}
	/**
	 * Creates and returns the Window menu.
	 */
	private MenuManager createWindowMenu() {
		MenuManager menu = new MenuManager(IDEWorkbenchMessages.getString("Workbench.window"), IWorkbenchActionConstants.M_WINDOW); 
		IWorkbenchAction action = ActionFactory.OPEN_NEW_WINDOW.create(getWindow());
		action.setText(IDEWorkbenchMessages.getString("Workbench.openNewWindow")); 
		menu.add(action);
		menu.add(new Separator());