Interface IThemePreview


public interface IThemePreview
Interface used by theme element developers to preview the usage of their elements within the colors and fonts preference page.
Since:
3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createControl(Composite parent, ITheme currentTheme)
    Create the preview control.
    void
    Dispose of resources used by this previewer.
  • Method Details

    • createControl

      void createControl(Composite parent, ITheme currentTheme)
      Create the preview control.
      Parameters:
      parent - the Composite in which to create the example
      currentTheme - the theme to preview
    • dispose

      void dispose()
      Dispose of resources used by this previewer. This method is called by the workbench when appropriate and should never be called by a user.