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
* handler is first checked for a help context identifier. If the handler
	 * does not have a help context identifier, then the help context identifier
	 * for the command is returned. If neither has a help context identifier,
	 * then <code>null</code> is returned.
	 * 
	 * @param command
	 *            The command for which the help context should be retrieved;
	 *            must not be <code>null</code>.
	 * @return The help context identifier to use for the given command; may be
	 *         <code>null</code>.
	 * @throws NotDefinedException
	 *             If the given command is not defined.
	 * @since 3.2
	 */
	public final String getHelpContextId(final Command command)
			throws NotDefinedException {
		
		if (!command.isDefined()) {
			throw new NotDefinedException("The command is not defined. " 
					+ command.getId());
		}
		
		final IHandler handler = command.getHandler();
		if (handler != null) {
			final String helpContextId = (String) helpContextIdsByHandler
					.get(handler);
			if (helpContextId != null) {
				return helpContextId;
			}
		}