Eclipse Platform
Release 3.1

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.


Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

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