Bug 263090 [legacy] Load the model with commands and handlers
The legacy fragment should be able to load the commands model with commands and the handlers model with handlers. PW
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/SWTPartFactory.java
SWT.POP_UP);
		} else if (widget instanceof Decorations) {
			swtMenu = new Menu((Decorations) widget, SWT.BAR);
			((Decorations) widget).setMenuBar(swtMenu);
		} else if (widget instanceof Control) {
			swtMenu = new Menu((Control) widget);
			((Control) widget).setMenu(swtMenu);
		} else {
			throw new IllegalArgumentException(
					"The widget must be MenuItem, Decorations, or Control but is: " 
							+ widgetObject);
		}
		for (MMenuItem menuItem : menu.getItems()) {
			createMenuItem(part, swtMenu, menuItem);
		}
		return swtMenu;
	}
	public Object createToolBar(MPart<?> part, Object widgetObject,
			MToolBar toolbar) {
		if (toolbar != null && toolbar.getId() != null
				&& toolbar.getId().equals("org.eclipse.ui.main.toolbar") 
				&& toolbar.getItems().size() == 0) {
			
			ILegacyHook lh = (ILegacyHook) context.get(ILegacyHook.class
					.getName());
			lh.loadToolbar(toolbar);
		}
		int orientation = SWT.HORIZONTAL;
		Composite composite = (Composite) widgetObject;
		if (composite.getLayout() instanceof RowLayout) {