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/WBPartFactory.java
wbwShell.setLayout(new FillLayout());
			newWidget = wbwShell;
			bindWidget(part, newWidget);
			
			IEclipseContext localContext = EclipseContextFactory.create(
					parentContext, UISchedulerStrategy.getInstance());
			localContext
					.set(IContextConstants.DEBUG_STRING, "MWorkbenchWindow"); 
			part.setContext(localContext);
			parentContext.set(IServiceConstants.ACTIVE_CHILD, localContext);
			localContext.set(MWindow.class.getName(), part);
			
			localContext.set(Shell.class.getName(), wbwShell);
			localContext.set(Workbench.LOCAL_ACTIVE_SHELL, wbwShell);
			if (part instanceof MWorkbenchWindow) {
				
				
				localContext.set(MWorkbenchWindow.class.getName(), part);
			} else {
				wbwShell.setLayout(new FillLayout());
			}
			if (((MWindow<?>) part).getName() != null)
				wbwShell.setText(((MWindow<?>) part).getName());
		} else {
			newWidget = null;
		}
		return newWidget;
	}
	@Override
	public void hookControllerLogic(MPart<?> me) {