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
IExecutionListenerWithChecks {
		public void notDefined(String commandId, NotDefinedException exception) {
			if (executionListeners != null) {
				final Object[] listeners = executionListeners.getListeners();
				for (int i = 0; i < listeners.length; i++) {
					final Object object = listeners[i];
					if (object instanceof IExecutionListenerWithChecks) {
						final IExecutionListenerWithChecks listener = (IExecutionListenerWithChecks) object;
						listener.notDefined(commandId, exception);
					}
				}
			}
		}
		public void notEnabled(String commandId, NotEnabledException exception) {
			if (executionListeners != null) {
				final Object[] listeners = executionListeners.getListeners();
				for (int i = 0; i < listeners.length; i++) {
					final Object object = listeners[i];
					if (object instanceof IExecutionListenerWithChecks) {
						final IExecutionListenerWithChecks listener = (IExecutionListenerWithChecks) object;
						listener.notEnabled(commandId, exception);
					}