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/ActionContributionItem.java
private Listener getMenuCreatorListener() {
		if (menuCreatorListener == null) {
			menuCreatorListener = new Listener() {
				public void handleEvent(Event event) {
					switch (event.type) {
					case SWT.Show:
						handleShowProxy((Menu) event.widget);
						break;
					case SWT.Hide:
						handleHideProxy((Menu) event.widget);
						break;
					}
				}
			};
		}
		return menuCreatorListener;
	}
	
	/**
	 * This is the easiest way to hold the menu until we can swap it in to the
	 * proxy.
	 */
	private Menu holdMenu = null;
	
	/**
	 * The proxy menu is being shown, we better get the real menu.
	 * 
	 * @param proxy
	 *            the proxy menu
	 * @since 3.4