Class AbstractCSSPropertyHandlerProvider
java.lang.Object
org.eclipse.e4.ui.css.core.dom.properties.providers.AbstractCSSPropertyHandlerProvider
- All Implemented Interfaces:
ICSSPropertyHandlerProvider
- Direct Known Subclasses:
CSSPropertyHandlerLazyProviderImpl
,CSSPropertyHandlerSimpleProviderImpl
,RegistryCSSPropertyHandlerProvider
public abstract class AbstractCSSPropertyHandlerProvider
extends Object
implements ICSSPropertyHandlerProvider
Abstract CSS Property handler.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getCSSPropertyStyle
(CSSEngine engine, CSSStylableElement stylableElement, String propertyName, String pseudo) Return the CSS property from the CSSpropertyName
of thestylableElement
.getDefaultCSSStyleDeclaration
(CSSEngine engine, Object widget, CSSStyleDeclaration newStyle, String pseudoE) Return the default CSS style declaration of theelement
before apply thenewStyle
CSSStyleDeclaration
.protected abstract CSSStyleDeclaration
getDefaultCSSStyleDeclaration
(CSSEngine engine, CSSStylableElement stylableElement, CSSStyleDeclaration newStyle, String pseudoE) Return the default CSS style declaration of theCSSStylableElement
stylableElement
before apply thenewStyle
CSSStyleDeclaration
.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.ICSSPropertyHandlerProvider
getCSSProperties, getCSSPropertyHandlers, getCSSPropertyHandlers
-
Constructor Details
-
AbstractCSSPropertyHandlerProvider
public AbstractCSSPropertyHandlerProvider()
-
-
Method Details
-
getDefaultCSSStyleDeclaration
public CSSStyleDeclaration getDefaultCSSStyleDeclaration(CSSEngine engine, Object widget, CSSStyleDeclaration newStyle, String pseudoE) throws Exception Description copied from interface:ICSSPropertyHandlerProvider
Return the default CSS style declaration of theelement
before apply thenewStyle
CSSStyleDeclaration
.- Specified by:
getDefaultCSSStyleDeclaration
in interfaceICSSPropertyHandlerProvider
- Throws:
Exception
-
getCSSPropertyStyle
protected String getCSSPropertyStyle(CSSEngine engine, CSSStylableElement stylableElement, String propertyName, String pseudo) Return the CSS property from the CSSpropertyName
of thestylableElement
. -
getDefaultCSSStyleDeclaration
protected abstract CSSStyleDeclaration getDefaultCSSStyleDeclaration(CSSEngine engine, CSSStylableElement stylableElement, CSSStyleDeclaration newStyle, String pseudoE) throws Exception Return the default CSS style declaration of theCSSStylableElement
stylableElement
before apply thenewStyle
CSSStyleDeclaration
.- Throws:
Exception
-