Bug 283887 [CSS] Review keyline property names
ETabFolder has three keyline colors, with the following names as realized in the CSS: tab-area-keyline-color: xxx; body-keyline-color: xxx; tab-keyline-color: xxx; Are we happy with these names? The correspond to: Color tabAreaKeylineColor; // The exterior keyline color of the top tab area Color bodyKeylineColor; // The keyline color of the left, right, and bottom of the body Color tabKeylineColor; // Keyline color for the tabs themselves
bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/properties/custom/CSSPropertyBodyKeylineColorHandler.java
public static final ICSSPropertyHandler INSTANCE = new CSSPropertyBodyKeylineColorHandler();
	public void applyCSSProperty(Control control, String property,
			CSSValue value, String pseudo, CSSEngine engine) throws Exception {
		if (value.getCssValueType() == CSSValue.CSS_PRIMITIVE_VALUE) {
			if (control instanceof ETabFolder) {
				Color newColor = (Color) engine.convert(value, Color.class, control
						.getDisplay());
				
				((ETabFolder) control).setBodyKeylineColor(newColor);
			}
		}
	}
	public String retrieveCSSProperty(Control control, String property, String pseudo, 
			CSSEngine engine) throws Exception {
		
		if (control instanceof ETabFolder) {
			Color color = ((ETabFolder) control).getBodyKeylineColor();
			return engine.convert(color, Color.class, null);
		}
		return null;
	}
}