Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.ui.themes
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
`void` | `createControl(Composite parent, ITheme currentTheme)` Create the preview control.
`void` | `dispose()` Dispose of resources used by this previewer.

Method Detail

### createControl

    public 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

    public 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.