Package org.eclipse.e4.ui.css.swt.dom
Class SWTElementProvider
java.lang.Object
org.eclipse.e4.ui.css.swt.dom.SWTElementProvider
- All Implemented Interfaces:
IElementProvider
- Direct Known Subclasses:
SWTHTMLElementProvider
Returns the CSS class which is responsible for styling a SWT widget
Registered via the "org.eclipse.e4.ui.css.core.elementProvider" extension
point for the SWT widgets
IElementProvider
SWT implementation to retrieve w3c Element
Element
linked to SWT widget.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetElement
(Object element, CSSEngine engine) Return the w3cElement
which wrap the native widgetelement
(SWT Control, Swing JComponent).
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
SWTElementProvider
public SWTElementProvider()
-
-
Method Details
-
getElement
Description copied from interface:IElementProvider
Return the w3cElement
which wrap the native widgetelement
(SWT Control, Swing JComponent). Theelement
can be the w3c Element. The provider should check that the supplied widgets/objects are compatible with the provided CSS Engine.- Specified by:
getElement
in interfaceIElementProvider
-