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
buildAllAction = IDEActionFactory.BUILD.create(getWindow());
		registerGlobalAction(buildAllAction);
		saveAction = ActionFactory.SAVE.create(getWindow());
		registerGlobalAction(saveAction);
		saveAsAction = ActionFactory.SAVE_AS.create(getWindow());
		registerGlobalAction(saveAsAction);
		saveAllAction = ActionFactory.SAVE_ALL.create(getWindow());
		registerGlobalAction(saveAllAction);
		
		undoAction = ActionFactory.UNDO.create(getWindow());
		registerGlobalAction(undoAction);
		redoAction = ActionFactory.REDO.create(getWindow());
		registerGlobalAction(redoAction);
		cutAction = ActionFactory.CUT.create(getWindow());
		registerGlobalAction(cutAction);
		copyAction = ActionFactory.COPY.create(getWindow());
		registerGlobalAction(copyAction);
		pasteAction = ActionFactory.PASTE.create(getWindow());
		registerGlobalAction(pasteAction);
		printAction = ActionFactory.PRINT.create(getWindow());
		registerGlobalAction(printAction);
		selectAllAction = ActionFactory.SELECT_ALL.create(getWindow());
		registerGlobalAction(selectAllAction);
		
		findAction = ActionFactory.FIND.create(getWindow());
		registerGlobalAction(findAction);
		closeAction = ActionFactory.CLOSE.create(getWindow());
		registerGlobalAction(closeAction);
		closeAllAction = ActionFactory.CLOSE_ALL.create(getWindow());
		registerGlobalAction(closeAllAction);