Bug 280846 [UI][CSS] Null styling engine required in main context for tests to run
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/workbench/swt/internal/WorkbenchStylingSupport.java
String resourceURI, IEclipseContext appContext) {
		
		final CSSEngine engine = new CSSNebulaEngineImpl(display, true);
		engine.setErrorHandler(new CSSErrorHandler() {
			public void error(Exception e) {
				e.printStackTrace();
			}
		});
		
		if (resourceURI != null) {
			engine.getResourcesLocatorManager().registerResourceLocator(
					new OSGiResourceLocator(resourceURI.toString()));
		}
		
		try {
			URL url = FileLocator.resolve(new URL(cssURI.toString()));
			display.setData("org.eclipse.e4.ui.css.core.cssURL", url); 		
			InputStream stream = url.openStream();
			engine.parseStyleSheet(stream);
			stream.close();
		} catch (MalformedURLException e1) {
			
			e1.printStackTrace();
		} catch (IOException e1) {
			
			e1.printStackTrace();
		}
		appContext.set(IStylingEngine.class.getName(), new IStylingEngine() {
			public void setClassname(Object widget, String classname) {
				((Widget) widget).setData(