Class RegistryCSSElementProvider

All Implemented Interfaces:

public class RegistryCSSElementProvider extends Object implements IElementProvider
A simple IElementProvider that is configured by an extension point.
  • Constructor Details

    • RegistryCSSElementProvider

      public RegistryCSSElementProvider(IExtensionRegistry registry)
  • Method Details

    • getElement

      public Element getElement(Object o, CSSEngine engine)
      Description copied from interface: IElementProvider
      Return the w3c Element which wrap the native widget element (SWT Control, Swing JComponent). The element 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 interface IElementProvider