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
}
            }
        }
        updateMenuItem();
    }
    /* (non-Javadoc)
     * @see org.eclipse.jface.action.IContributionItem#update(java.lang.String)
     */
    public void update(String property) {
        IContributionItem items[] = getItems();
        for (int i = 0; i < items.length; i++) {
			items[i].update(property);
		}
        if (menu != null && !menu.isDisposed() && menu.getParentItem() != null
                && IAction.TEXT.equals(property)) {
            String text = getOverrides().getText(this);
            if (text == null) {
				text = getMenuText();
			}
            if (text != null) {
                ExternalActionManager.ICallback callback = ExternalActionManager
                        .getInstance().getCallback();
                if (callback != null) {
                    int index = text.indexOf('&');
                    if (index >= 0 && index < text.length() - 1) {
                        char character = Character.toUpperCase(text
                                .charAt(index + 1));
                        if (callback.isAcceleratorInUse(SWT.ALT | character)) {
                            if (index == 0) {
								text = text.substring(1);