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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetCSSPropertyStyle(CSSEngine engine, CSSStylableElement stylableElement, String propertyName, String pseudo) Return the CSS property from the CSSpropertyNameof thestylableElement.getDefaultCSSStyleDeclaration(CSSEngine engine, Object widget, CSSStyleDeclaration newStyle, String pseudoE) Return the default CSS style declaration of theelementbefore apply thenewStyleCSSStyleDeclaration.protected abstract CSSStyleDeclarationgetDefaultCSSStyleDeclaration(CSSEngine engine, CSSStylableElement stylableElement, CSSStyleDeclaration newStyle, String pseudoE) Return the default CSS style declaration of theCSSStylableElementstylableElementbefore apply thenewStyleCSSStyleDeclaration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:ICSSPropertyHandlerProviderReturn the default CSS style declaration of theelementbefore apply thenewStyleCSSStyleDeclaration.- Specified by:
getDefaultCSSStyleDeclarationin interfaceICSSPropertyHandlerProvider- Throws:
Exception
-
getCSSPropertyStyle
protected String getCSSPropertyStyle(CSSEngine engine, CSSStylableElement stylableElement, String propertyName, String pseudo) Return the CSS property from the CSSpropertyNameof thestylableElement. -
getDefaultCSSStyleDeclaration
protected abstract CSSStyleDeclaration getDefaultCSSStyleDeclaration(CSSEngine engine, CSSStylableElement stylableElement, CSSStyleDeclaration newStyle, String pseudoE) throws Exception Return the default CSS style declaration of theCSSStylableElementstylableElementbefore apply thenewStyleCSSStyleDeclaration.- Throws:
Exception
-