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
revertAction = ActionFactory.REVERT.create(getWindow());
		registerGlobalAction(revertAction);
		refreshAction = ActionFactory.REFRESH.create(getWindow());
		registerGlobalAction(refreshAction);
		propertiesAction = ActionFactory.PROPERTIES.create(getWindow());
		registerGlobalAction(propertiesAction);
		quitAction = ActionFactory.QUIT.create(getWindow());
		registerGlobalAction(quitAction);
		moveAction = ActionFactory.MOVE.create(getWindow());
		registerGlobalAction(moveAction);
		renameAction = ActionFactory.RENAME.create(getWindow());
		registerGlobalAction(renameAction);
		goIntoAction = ActionFactory.GO_INTO.create(getWindow());
		registerGlobalAction(goIntoAction);
		backAction = ActionFactory.BACK.create(getWindow());
		registerGlobalAction(backAction);
		forwardAction = ActionFactory.FORWARD.create(getWindow());
		registerGlobalAction(forwardAction);
		upAction = ActionFactory.UP.create(getWindow());
		registerGlobalAction(upAction);
		nextAction = ActionFactory.NEXT.create(getWindow());
		nextAction.setImageDescriptor(
			IDEInternalWorkbenchImages.getImageDescriptor(
				IDEInternalWorkbenchImages.IMG_CTOOL_NEXT_NAV));
		registerGlobalAction(nextAction);
		previousAction = ActionFactory.PREVIOUS.create(getWindow());
		previousAction.setImageDescriptor(
			IDEInternalWorkbenchImages.getImageDescriptor(
				IDEInternalWorkbenchImages.IMG_CTOOL_PREVIOUS_NAV));
		registerGlobalAction(previousAction);