Bug 291069 [Commands] IWorkbenchCommandConstants should also define command parameter ids
HEAD IWorkbenchCommandConstants should also define the parameter ids that are used by commands. E.g. the NAVIGATE_SHOW_IN command defines a <commandParameter> with id 'org.eclipse.ui.navigate.showIn.targetId' in the plugin.xml, but I didn't find a constant for that (only two internal constants: ShowInHandler.TARGET_ID, ShowInMenu.SHOW_IN_PARM_ID).
tests/org.eclipse.ui.tests.performance/src/org/eclipse/ui/tests/performance/OpenClosePerspectiveTest.java
commitMeasurements();
        assertPerformance();
    }
    /**
     * @param activePage
     */
    private void closePerspective(IWorkbenchPage activePage) {
		IPerspectiveDescriptor persp = activePage.getPerspective();
		ICommandService commandService = (ICommandService) fWorkbench
				.getService(ICommandService.class);
		Command command = commandService
				.getCommand("org.eclipse.ui.window.closePerspective");
		HashMap parameters = new HashMap();
		parameters.put("org.eclipse.ui.window.closePerspective.perspectiveId",
				persp.getId());
		ParameterizedCommand pCommand = ParameterizedCommand.generateCommand(
				command, parameters);
		IHandlerService handlerService = (IHandlerService) fWorkbench
				.getService(IHandlerService.class);
		try {
			handlerService.executeCommand(pCommand, null);
		} catch (ExecutionException e1) {
		} catch (NotDefinedException e1) {
		} catch (NotEnabledException e1) {
		} catch (NotHandledException e1) {
		}
	}
}