Bug 256844 [CSS] TK-UI CSS engine for Nebula widget
examples/org.eclipse.e4.ui.examples.css/src/org/eclipse/e4/ui/examples/css/editor/AbstractCSSSWTEditor.java
GridData.FILL_HORIZONTAL));
		label = new Label(group, SWT.NONE);
		label.setText("CSS Property value");
		selectedCSSPropertyValueText = new Text(group, SWT.BORDER);
		selectedCSSPropertyValueText.setLayoutData(new GridData(
				GridData.FILL_HORIZONTAL));
		selectedCSSPropertyValueText.addKeyListener(new KeyAdapter() {
			public void keyReleased(KeyEvent e) {
				String property = selectedCSSPropertyNameText.getText();
				property += ":";
				property += selectedCSSPropertyValueText.getText();
				updateSelectedCSSPropertyValue(property);
			}
		});
		final Button b = new Button(group, SWT.PUSH | SWT.BORDER);
		b.setText("Change Color");
		b.addSelectionListener(new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				ColorDialog colorDialog = new ColorDialog(shell);
				colorDialog.setText("ColorDialog Demo");
				String cssValue = selectedCSSPropertyValueText.getText();
				if (cssValue != null && cssValue.length() > 0) {
					try {
						CSSValue value = engine.parsePropertyValue(cssValue);
						RGB rgb = (RGB) engine.convert(value, RGB.class, null);
						if (rgb != null)
							colorDialog.setRGB(rgb);
					} catch (Exception ex) {
						handleExceptions(ex);
					}