Bug 277676 [UI] The workbench should create the contexts
The workbench should create contexts for the model elements, MApplication and MParts (windows, sashes, contributed parts, etc). This is not really the responsibility of the renderers. PW
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/StackModelFactory.java
MToolBar tbModel = part.getToolBar();
		CTabFolder ctf = (CTabFolder) getParentWidget(part);
		ToolBar tb = (ToolBar) createToolBar(part.getParent(), ctf, tbModel);
		
		if (part.getMenu() != null) {
			addMenuButton(part, tb, part.getMenu());
		}
		tb.pack();
		System.out.println("TB size = " + tb.getSize()); 
		return tb;
	}
	/**
	 * @param tb
	 */
	private void addMenuButton(MItemPart<?> part, ToolBar tb, MMenu menu) {
		ToolItem ti = new ToolItem(tb, SWT.PUSH);
		ti.setImage(getViewMenuImage());
		ti.setHotImage(null);
		ti.setToolTipText("View Menu"); 
		ti.setData("theMenu", menu); 
		ti.setData("thePart", part); 
		ti.addSelectionListener(new SelectionListener() {
			public void widgetSelected(SelectionEvent e) {
				showMenu((ToolItem) e.widget);
			}
			public void widgetDefaultSelected(SelectionEvent e) {
				showMenu((ToolItem) e.widget);
			}
		});
	}