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
&& msg.getEventType() == Notification.ADD) {
					MPart<?> added = (MPart<?>) msg.getNewValue();
					initializeContext(workbenchContext, added);
				}
			}
		});
	}
	/**
	 * Create the context chain. It both creates the chain for the current
	 * model, and adds eAdapters so it can add new contexts when new model items
	 * are added.
	 * 
	 * @param parentContext
	 *            The parent context
	 * @param part
	 *            needs a context created
	 */
	public static void initializeContext(IEclipseContext parentContext, MPart<?> part) {
		final IEclipseContext context;
		if (part.getContext() != null) {
			context = part.getContext();
		} else {
			context = EclipseContextFactory
					.create(parentContext, UISchedulerStrategy.getInstance());
		}
		
		
		final Class[] interfaces = part.getClass().getInterfaces();
		for (Class intf : interfaces) {
			System.err.println("add intf: " + intf.getName());