Bug 277873 [CSS] Exception handling for illegal color name
examples/org.eclipse.e4.ui.examples.css/src/org/eclipse/e4/ui/examples/css/editor/AbstractCSSEditor.java
* implement <code>widget</code>.
	 * 
	 * @param widget
	 */
	protected void applyStyles(Object widget) {
		try {
			Date d1 = new Date();
			engine = getCSSEngine();
			
			StringReader reader = new StringReader(getStyleSheetContent());
			engine.parseStyleSheet(reader);
			
			engine.applyStyles(widget, true, true);
			Date d2 = new Date();
			
			setCSSEngineStatuts("Apply style with "
					+ (d2.getTime() - d1.getTime()) + "ms.");
		} catch (Exception ex) {
			handleExceptions(ex);
		}
	}
	/**
	 * Apply styles to the fully window or left panel widget.
	 */
	protected void applyStyles() {
		if (mustApplyStylesToWindow()) {
			applyStyles(getWindowNativeWidget());
		} else
			applyStyles(getLeftPanelNativeWidget());
	}