Class RegistryCSSPropertyHandlerProvider
java.lang.Object
org.eclipse.e4.ui.css.core.dom.properties.providers.AbstractCSSPropertyHandlerProvider
org.eclipse.e4.ui.css.core.impl.engine.RegistryCSSPropertyHandlerProvider
- All Implemented Interfaces:
ICSSPropertyHandlerProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
getCSSProperties
(Object element) Return the list of applicable properties forelement
getCSSPropertyHandlers
(Object element, String property) Return list ofICSSPropertyHandler
linked to the CSS Propertyproperty
for the provided element.getCSSPropertyHandlers
(String property) Return list ofICSSPropertyHandler
linked to the CSS Propertyproperty
.protected CSSStyleDeclaration
getDefaultCSSStyleDeclaration
(CSSEngine engine, CSSStylableElement stylableElement, CSSStyleDeclaration newStyle, String pseudoE) Return the default CSS style declaration of theCSSStylableElement
stylableElement
before apply thenewStyle
CSSStyleDeclaration
.protected void
Methods inherited from class org.eclipse.e4.ui.css.core.dom.properties.providers.AbstractCSSPropertyHandlerProvider
getCSSPropertyStyle, getDefaultCSSStyleDeclaration
-
Constructor Details
-
RegistryCSSPropertyHandlerProvider
-
-
Method Details
-
configure
- Returns:
- true if some extensions were found
-
getCSSPropertyHandlers
Description copied from interface:ICSSPropertyHandlerProvider
Return list ofICSSPropertyHandler
linked to the CSS Propertyproperty
.- Throws:
Exception
-
getDefaultCSSStyleDeclaration
protected CSSStyleDeclaration getDefaultCSSStyleDeclaration(CSSEngine engine, CSSStylableElement stylableElement, CSSStyleDeclaration newStyle, String pseudoE) throws Exception Description copied from class:AbstractCSSPropertyHandlerProvider
Return the default CSS style declaration of theCSSStylableElement
stylableElement
before apply thenewStyle
CSSStyleDeclaration
.- Specified by:
getDefaultCSSStyleDeclaration
in classAbstractCSSPropertyHandlerProvider
- Throws:
Exception
-
getCSSPropertyHandlers
public Collection<ICSSPropertyHandler> getCSSPropertyHandlers(Object element, String property) throws Exception Description copied from interface:ICSSPropertyHandlerProvider
Return list ofICSSPropertyHandler
linked to the CSS Propertyproperty
for the provided element.- Parameters:
element
- the DOM element- Returns:
- the handlers for the element
- Throws:
Exception
-
getCSSProperties
Description copied from interface:ICSSPropertyHandlerProvider
Return the list of applicable properties forelement
- Parameters:
element
- the DOM element
-
logError
-