Bug 204458 [Commands] Allow menu and toolbars to fire execution events
Keybindings will currently fire execution events when executing actions from the action framework. i.e. IActions with their actionDefinitionId set and IActionDelegates with the definitionId attribute in their action contributions. But it would be nice if selecting the menu or tool item would also fire the equivalent events. PW
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/CommandManager.java
for (int i = 0; i < parameters.length; i++) {
				final IParameter parameter = parameters[i];
				if (parameter.getId().equals(parameterId)) {
					paramList.add(new Parameterization(parameter,
							parameterValue));
					break;
				}
			}
		} while (commaPosition != -1);
		return (Parameterization[]) paramList
				.toArray(new Parameterization[paramList.size()]);
	}
	/**
	 * Gets the command {@link ParameterType} with the given identifier. If no
	 * such command parameter type currently exists, then the command parameter
	 * type will be created (but will be undefined).
	 * 
	 * @param parameterTypeId
	 *            The identifier to find; must not be <code>null</code> and
	 *            must not be zero-length.
	 * @return The {@link ParameterType} with the given identifier; this value
	 *         will never be <code>null</code>, but it might be undefined.
	 * @since 3.2
	 */
	public final ParameterType getParameterType(final String parameterTypeId) {
		checkId(parameterTypeId);
		ParameterType parameterType = (ParameterType) parameterTypesById
				.get(parameterTypeId);
		if (parameterType == null) {
			parameterType = new ParameterType(parameterTypeId);