Bug 299554 Application.xmi without Window
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/workbench/swt/internal/PartRenderingEngine.java
MContext ctxt = (MContext) element;
			
			
			if (ctxt.getContext() == null) {
				IEclipseContext parentContext = element.getParent() == null ? appContext
						: getContext(element.getParent());
				IEclipseContext lclContext = EclipseContextFactory.create(
						parentContext, UISchedulerStrategy.getInstance());
				populateModelInterfaces(ctxt, lclContext, element.getClass()
						.getInterfaces());
				ctxt.setContext(lclContext);
				
				
				for (String variable : ctxt.getVariables()) {
					lclContext.declareModifiable(variable);
				}
				Workbench.processHierarchy(element);
			}
		}
		
		if (element.getWidget() != null) {
			if (parent instanceof Composite
					&& element.getWidget() instanceof Control) {
				
				final Composite p = (Composite) parent;
				Control c = (Control) element.getWidget();
				c.setParent(p);
				final Control[] changed = { c };
				
				c.getDisplay().asyncExec(new Runnable() {