Class CSSPropertyTabHeightHandler
java.lang.Object
org.eclipse.e4.ui.css.swt.properties.AbstractCSSPropertySWTHandler
org.eclipse.e4.ui.css.swt.properties.custom.CSSPropertyTabHeightHandler
- All Implemented Interfaces:
ICSSPropertyHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Apply CSS Propertyproperty
(ex : background-color) with CSSValuevalue
(ex : red) into the SWTcontrol
(ex : SWT Text, SWT Label).protected String
retrieveCSSProperty
(Control control, String property, String pseudo, CSSEngine engine) Retrieve CSS value (ex : red) of CSS Propertyproperty
(ex : background-color) from the SWTcontrol
(ex : SWT Text, SWT Label).Methods inherited from class org.eclipse.e4.ui.css.swt.properties.AbstractCSSPropertySWTHandler
applyCSSProperty, retrieveCSSProperty
-
Constructor Details
-
CSSPropertyTabHeightHandler
public CSSPropertyTabHeightHandler()
-
-
Method Details
-
applyCSSProperty
protected void applyCSSProperty(Control control, String property, CSSValue value, String pseudo, CSSEngine engine) throws Exception Description copied from class:AbstractCSSPropertySWTHandler
Apply CSS Propertyproperty
(ex : background-color) with CSSValuevalue
(ex : red) into the SWTcontrol
(ex : SWT Text, SWT Label).- Specified by:
applyCSSProperty
in classAbstractCSSPropertySWTHandler
- Parameters:
control
- SWT control to changeproperty
- CSS Propertyvalue
- CSS valuepseudo
- the pseudo class to use, ornull
if none is requiredengine
- CSS Engine- Throws:
Exception
- if applying CSS failed
-
retrieveCSSProperty
protected String retrieveCSSProperty(Control control, String property, String pseudo, CSSEngine engine) throws Exception Description copied from class:AbstractCSSPropertySWTHandler
Retrieve CSS value (ex : red) of CSS Propertyproperty
(ex : background-color) from the SWTcontrol
(ex : SWT Text, SWT Label).- Specified by:
retrieveCSSProperty
in classAbstractCSSPropertySWTHandler
- Parameters:
control
- SWT control to changeproperty
- CSS Propertypseudo
- the pseudo class to use, ornull
if none is requiredengine
- CSS Engine- Returns:
- retrieved CSS properties or
null
- Throws:
Exception
- if retrieving CSS failed
-