Class EclipsePreferencesHandler
java.lang.Object
org.eclipse.e4.ui.css.swt.properties.preference.EclipsePreferencesHandler
- All Implemented Interfaces:
ICSSPropertyHandler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Apply CSS Propertyproperty
(ex : background-color) with CSSValuevalue
(ex : red) into theelement
(ex : Swing Component, SWT Widget).protected void
overrideProperty
(IEclipsePreferences preferences, String name, String value) protected void
overrideProperty
(IEclipsePreferences preferences, CSSValue value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.e4.ui.css.core.dom.properties.ICSSPropertyHandler
retrieveCSSProperty
-
Field Details
-
PREFERENCES_PROP
- See Also:
-
-
Constructor Details
-
EclipsePreferencesHandler
public EclipsePreferencesHandler()
-
-
Method Details
-
applyCSSProperty
public boolean applyCSSProperty(Object element, String property, CSSValue value, String pseudo, CSSEngine engine) Description copied from interface:ICSSPropertyHandler
Apply CSS Propertyproperty
(ex : background-color) with CSSValuevalue
(ex : red) into theelement
(ex : Swing Component, SWT Widget).- Specified by:
applyCSSProperty
in interfaceICSSPropertyHandler
- Parameters:
element
- Swing Component, SWT Widget...property
- CSS Propertyvalue
- CSS valuepseudo
- the pseudo class to use, ornull
if none is requiredengine
- CSS Engine- Returns:
- weather CSS property was applied or not
-
overrideProperty
-
overrideProperty
-