Bug 120150 [Commands] Javadoc bugs in ParameterizedCommand and ExecutionEvent
The constructor for ParameterizedCommand refers to "an array of quadruples (<code>String[]</code>)" for the 'parameterizations' parameter, however the type of that parameter is Parameterization[]. In ExecutionEvent there are several places where it says "parameter name" but I think it should say "parameter id". In the constructor: * @param parameters * The parameters to qualify the execution; must not be * <code>null</code>. This must be a map of parameter names (<code>String</code>) * to parameter values (<code>String</code>). And the method getParameter(final String parameterName) has the same problem. This analysis is based on the code in ParameterizedCommand.getParameterMap() that builds a Map of parameter id to parameter value which is passed to the ExecutionEvent constructor.
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ExecutionEvent.java
/**
	 * The state of the application at the time the execution was triggered. In
	 * the Eclipse workbench, this might contain information about the active
	 * part of the active selection (for example). This value may be
	 * <code>null</code>.
	 */
	private final Object applicationContext;
	/**
	 * The command being executed. This value may be <code>null</code>.
	 */
	private final Command command;
	/**
	 * The parameters to qualify the execution. For handlers that normally
	 * prompt for additional information, these can be used to avoid prompting.