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
"org.eclipse.e4.ui.css.CssClassName", classname); 
				engine.applyStyles(widget, true);
			}
			public void setId(Object widget, String id) {
				((Widget) widget).setData("org.eclipse.e4.ui.css.id", id); 
				engine.applyStyles(widget, true);
			}
			public void style(Object widget) {
				engine.applyStyles(widget, true);
			}
		});
	}
	/**
	 * For use when there is no real styling engine present. Has no behaviour
	 * but conforms to IStylingEngine API.
	 * 
	 * @param appContext
	 */
	public static void initializeNullStyling(IEclipseContext appContext) {
		appContext.set(IStylingEngine.class.getName(), new IStylingEngine() {
			public void setClassname(Object widget, String classname) {
			}
			public void setId(Object widget, String id) {
			}
			public void style(Object widget) {
			}
		});
	}
}