Bug 12116 [Contributions] widgets: MenuManager.setImageDescriptor() method needed
Currently there seems to be no API to assign image to menu item that contains submenu, the only way is to override MenuManager.fill() methods. That seems to be inconsistent.
bundles/org.eclipse.jface/src/org/eclipse/jface/action/MenuManager.java
public void menuHidden(MenuEvent e) {
                
            	handleAboutToHide();
            }
            public void menuShown(MenuEvent e) {
                handleAboutToShow();
            }
        });
        
        
    }
    /* (non-Javadoc)
     * @see org.eclipse.jface.action.IContributionItem#isDynamic()
     */
    public boolean isDynamic() {
        return false;
    }
    /**
     * Returns whether this menu should be enabled or not.
     * Used to enable the menu item containing this menu when it is realized as a sub-menu.
     * <p>
     * The default implementation of this framework method
     * returns <code>true</code>. Subclasses may reimplement.
     * </p>
     *
     * @return <code>true</code> if enabled, and
     *   <code>false</code> if disabled
     */
    public boolean isEnabled() {
        return true;