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.jface/src/org/eclipse/jface/action/ExternalActionManager.java
.getBestActiveBindingFor(commandId);
			if (triggerSequence != null) {
				final Trigger[] triggers = triggerSequence.getTriggers();
				if (triggers.length == 1) {
					final Trigger trigger = triggers[0];
					if (trigger instanceof KeyStroke) {
						final KeyStroke keyStroke = (KeyStroke) trigger;
						final int accelerator = SWTKeySupport
								.convertKeyStrokeToAccelerator(keyStroke);
						return new Integer(accelerator);
					}
				}
			}
			return null;
		}
		/**
		 * @see org.eclipse.jface.action.ExternalActionManager.ICallback#getAcceleratorText(String)
		 */
		public final String getAcceleratorText(final String commandId) {
			final TriggerSequence triggerSequence = bindingManager
					.getBestActiveBindingFor(commandId);
			if (triggerSequence == null) {
				return null;
			}
			return triggerSequence.format();
		}
		/**
		 * Returns the active bindings for a particular command identifier.
		 * 
		 * @param commandId