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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleangetCSSProperties(Object element) Return the list of applicable properties forelementgetCSSPropertyHandlers(Object element, String property) Return list ofICSSPropertyHandlerlinked to the CSS Propertypropertyfor the provided element.getCSSPropertyHandlers(String property) Return list ofICSSPropertyHandlerlinked to the CSS Propertyproperty.protected CSSStyleDeclarationgetDefaultCSSStyleDeclaration(CSSEngine engine, CSSStylableElement stylableElement, CSSStyleDeclaration newStyle, String pseudoE) Return the default CSS style declaration of theCSSStylableElementstylableElementbefore apply thenewStyleCSSStyleDeclaration.protected voidMethods 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:ICSSPropertyHandlerProviderReturn list ofICSSPropertyHandlerlinked to the CSS Propertyproperty.- Throws:
Exception
-
getDefaultCSSStyleDeclaration
protected CSSStyleDeclaration getDefaultCSSStyleDeclaration(CSSEngine engine, CSSStylableElement stylableElement, CSSStyleDeclaration newStyle, String pseudoE) throws Exception Description copied from class:AbstractCSSPropertyHandlerProviderReturn the default CSS style declaration of theCSSStylableElementstylableElementbefore apply thenewStyleCSSStyleDeclaration.- Specified by:
getDefaultCSSStyleDeclarationin classAbstractCSSPropertyHandlerProvider- Throws:
Exception
-
getCSSPropertyHandlers
public Collection<ICSSPropertyHandler> getCSSPropertyHandlers(Object element, String property) throws Exception Description copied from interface:ICSSPropertyHandlerProviderReturn list ofICSSPropertyHandlerlinked to the CSS Propertypropertyfor the provided element.- Parameters:
element- the DOM element- Returns:
- the handlers for the element
- Throws:
Exception
-
getCSSProperties
Description copied from interface:ICSSPropertyHandlerProviderReturn the list of applicable properties forelement- Parameters:
element- the DOM element
-
logError
-