Class AbstractConvertedCSSPropertySWTHandler
java.lang.Object
org.eclipse.e4.ui.css.swt.properties.AbstractCSSPropertySWTHandler
org.eclipse.e4.ui.css.swt.properties.AbstractConvertedCSSPropertySWTHandler
- All Implemented Interfaces:
ICSSPropertyHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidApply CSS Propertyproperty(ex : background-color) with CSSValuevalue(ex : red) into the SWTcontrol(ex : SWT Text, SWT Label).protected abstract voidapplyCSSPropertyValue(Control control, String property, Object value, String pseudo, CSSEngine engine) protected abstract Objectprotected StringretrieveCSSProperty(Object value, String pseudo, CSSEngine engine) Methods inherited from class org.eclipse.e4.ui.css.swt.properties.AbstractCSSPropertySWTHandler
applyCSSProperty, retrieveCSSProperty, retrieveCSSProperty
-
Constructor Details
-
AbstractConvertedCSSPropertySWTHandler
public AbstractConvertedCSSPropertySWTHandler()
-
-
Method Details
-
applyCSSProperty
protected void applyCSSProperty(Control control, String property, CSSValue value, String pseudo, CSSEngine engine) throws Exception Description copied from class:AbstractCSSPropertySWTHandlerApply CSS Propertyproperty(ex : background-color) with CSSValuevalue(ex : red) into the SWTcontrol(ex : SWT Text, SWT Label).- Specified by:
applyCSSPropertyin classAbstractCSSPropertySWTHandler- Parameters:
control- SWT control to changeproperty- CSS Propertyvalue- CSS valuepseudo- the pseudo class to use, ornullif none is requiredengine- CSS Engine- Throws:
Exception- if applying CSS failed
-
retrieveCSSProperty
-
applyCSSPropertyValue
protected abstract void applyCSSPropertyValue(Control control, String property, Object value, String pseudo, CSSEngine engine) throws Exception - Throws:
Exception
-
getToType
-