Bug 293357 [context] Switch annotation processing to JSR 330
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/MenuItemRenderer.java
item.setWbCommand(cmd);
					}
					service.executeHandler(cmd);
				}
				public void widgetDefaultSelected(SelectionEvent e) {
				}
			});
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.e4.workbench.ui.renderers.AbstractPartRenderer#getUIContainer
	 * (org.eclipse.e4.ui.model.application.MUIElement)
	 */
	@Override
	protected Object getUIContainer(MUIElement element) {
		if (!(element instanceof MMenuItem))
			return null;
		if (!(element.getParent().getWidget() instanceof MenuItem))
			return null;
		MenuItem mi = (MenuItem) element.getParent().getWidget();
		if (mi.getMenu() == null) {
			mi.setMenu(new Menu(mi));
		}
		return mi.getMenu();
	}
}