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
return null;
		MMenuItem itemModel = (MMenuItem) element;
		Menu parentMenu = (Menu) parent;
		if (itemModel.isSeparator()) {
			return new MenuItem(parentMenu, SWT.SEPARATOR);
		}
		
		int flags = SWT.PUSH;
		if (itemModel.getChildren() != null) {
			flags = SWT.CASCADE;
		}
		MenuItem newItem = new MenuItem((Menu) parent, flags);
		newItem.setText(itemModel.getName());
		newItem.setEnabled(itemModel.isEnabled());
		return newItem;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.e4.workbench.ui.renderers.swt.SWTPartRenderer#hookControllerLogic
	 * (org.eclipse.e4.ui.model.application.MUIElement)
	 */
	@Override
	public void hookControllerLogic(MUIElement me) {
		if (me instanceof MContribution
				&& ((MContribution) me).getURI() != null) {
			final MContribution contrib = (MContribution) me;
			final IEclipseContext lclContext = getContext(me);
			MenuItem mi = (MenuItem) me.getWidget();