Bug 261852 [context] Separate code into API / SPI / internal
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/renderers/swt/SWTPartFactory.java
}
	protected void executeItem(final Context context,
			Display display, final HandledItem item,
			final ISelectionService selectionService) {
		Handler h = getHandler(display, item);
		if (h==null) {
			return;
		}
		contributionFactory.call(h.getObject(), h.getURI(), "execute",
				context, null);
	}
	private void createMenuItem(final org.eclipse.swt.widgets.Menu parentMenu,
			final HandledItem handledItem) {
		int style = SWT.PUSH;
		if (handledItem instanceof org.eclipse.e4.ui.model.application.MenuItem) {
			if (((org.eclipse.e4.ui.model.application.MenuItem) handledItem)
					.isSeparator()) {
				style = SWT.SEPARATOR;
			} else if (((org.eclipse.e4.ui.model.application.MenuItem) handledItem)
					.getMenu() != null) {
				style = SWT.CASCADE;
			}
		}
		final MenuItem newMenuItem = new MenuItem(parentMenu, style);
		if (style != SWT.SEPARATOR) {
			newMenuItem.setText(handledItem.getName());
			newMenuItem.setImage(getImage(handledItem));
			newMenuItem.setEnabled(true);
		}
		if (handledItem.getMenu() != null) {