Bug 305807 iconURI does not work for HandledMenuItem
Given the following declaration, the menu item shows up but does not have the specified icon. The same iconURI attribute works when used with a part descriptor. <components parentID="org.eclipse.ui.main.menu"> <children xsi:type="application:MenuItem" label="Fa&amp;vorites"> <children xsi:type="application:HandledMenuItem" label="Open Favorites View" command="com.qualityeclipse.favorites.commands.openView" iconURI="platform:/plugin/com.qualityeclipse.favorites_e4/icons/sample.gif" /> </children> </components>
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/MenuItemRenderer.java
int flags = 0;
		if (itemModel.getChildren().size() > 0)
			flags = SWT.CASCADE;
		else if (itemModel.getType() == ItemType.PUSH)
			flags = SWT.PUSH;
		else if (itemModel.getType() == ItemType.CHECK)
			flags = SWT.CHECK;
		else if (itemModel.getType() == ItemType.RADIO)
			flags = SWT.RADIO;
		MenuItem newItem = new MenuItem((Menu) parent, flags, addIndex);
		setItemText(itemModel, newItem);
		newItem.setEnabled(itemModel.isEnabled());
		return newItem;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.e4.ui.workbench.swt.internal.AbstractPartRenderer#hideChild
	 * (org.eclipse.e4.ui.model.application.MElementContainer,
	 * org.eclipse.e4.ui.model.application.MUIElement)
	 */
	@Override
	public void hideChild(MElementContainer<MUIElement> parentElement,
			MUIElement child) {
		super.hideChild(parentElement, child);
		
		
		Widget widget = (Widget) child.getWidget();