Class CSSValueSWTRGBConverterImpl
java.lang.Object
org.eclipse.e4.ui.css.core.dom.properties.converters.AbstractCSSValueConverter
org.eclipse.e4.ui.css.swt.properties.converters.CSSValueSWTRGBConverterImpl
- All Implemented Interfaces:
ICSSValueConverter
- Version:
- 1.0.0
- Author:
- Angelo ZERR
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.e4.ui.css.core.dom.properties.converters.AbstractCSSValueConverter
convert, getToType
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CSSValueSWTRGBConverterImpl
public CSSValueSWTRGBConverterImpl()
-
-
Method Details
-
convert
Description copied from interface:ICSSValueConverter
Returns the result of the conversion of the given CSSValuevalue
.- Parameters:
value
- the CSSValue to convert- Returns:
- the converted object
- Throws:
Exception
-
convert
public String convert(Object value, CSSEngine engine, Object context, ICSSValueConverterConfig config) throws Exception Description copied from interface:ICSSValueConverter
Returns StringCSSValue
of the result of the conversion of the given Objectvalue
.config
can be used to manage format of the CSSValue String to return.- Throws:
Exception
-