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