Bug 280846 [UI][CSS] Null styling engine required in main context for tests to run
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/Workbench.java
context.set(intf.getName(), part);
		}
		part.setContext(context);
		
		for (MPart<?> child : (EList<MPart<?>>) part.getChildren()) {
			initializeContext(context, child);
		}
		part.eAdapters().add(new AdapterImpl() {
			@Override
			public void notifyChanged(Notification msg) {
				if (ApplicationPackage.Literals.MPART__CHILDREN.equals(msg.getFeature())
						&& msg.getEventType() == Notification.ADD) {
					MPart<?> added = (MPart<?>) msg.getNewValue();
					initializeContext(context, added);
				}
			}
		});
	}
	/**
	 * Should be called prior to running the e4 workench.
	 */
	public void createUIFromModel() {
		final EList<? extends MWindow> windows = workbench.getWindows();
		for (MWindow wbw : windows) {
			createGUI(wbw);
		}
	}
	public int run() {
		windowHandler.runEvenLoop(workbench.getWindows().get(0).getWidget());
		if (workbenchData != null && saveAndRestore && workbench != null) {