org.infai.emo.matcher.editor.wizard
Class WizardPage

java.lang.Object
  extended by org.infai.emo.matcher.editor.wizard.WizardPage
Direct Known Subclasses:
ComparatorPage, LoadPage

public abstract class WizardPage
extends java.lang.Object

This is an abstract class for creating a custom wizardPage that can be used with the wizard.

Version:
1.0.0
Author:
Stanley Hillner
See Also:
Wizard

Field Summary
(package private)  org.eclipse.swt.graphics.Image image
          The image for this page that will be drawn on the header of the wizard.
(package private)  org.eclipse.swt.widgets.Composite page
          The Composite the page can be built on.
(package private)  Wizard wizard
          The wizard that contains this page.
 
Constructor Summary
WizardPage()
           
 
Method Summary
abstract  void createPage(org.eclipse.swt.widgets.Composite parent)
          This method must create the GUI for this page.
 org.eclipse.swt.graphics.Image getImage()
           
 org.eclipse.swt.widgets.Composite getPage()
           
abstract  java.lang.String getPageDescription()
           
abstract  java.lang.String getPageTitle()
           
 Wizard getWizard()
           
 void setImage(org.eclipse.swt.graphics.Image image)
           
 void setPage(org.eclipse.swt.widgets.Composite page)
           
 void setWizard(Wizard wizard)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wizard

Wizard wizard
The wizard that contains this page.

See Also:
Wizard

page

org.eclipse.swt.widgets.Composite page
The Composite the page can be built on.

See Also:
Composite

image

org.eclipse.swt.graphics.Image image
The image for this page that will be drawn on the header of the wizard.

See Also:
Image
Constructor Detail

WizardPage

public WizardPage()
Method Detail

setWizard

public void setWizard(Wizard wizard)
Parameters:
wizard - the wizard for this page.

createPage

public abstract void createPage(org.eclipse.swt.widgets.Composite parent)
This method must create the GUI for this page.

Parameters:
parent - the Composite on which the page can be created.
See Also:
Composite

getPageTitle

public abstract java.lang.String getPageTitle()
Returns:
the title of this page.

getPageDescription

public abstract java.lang.String getPageDescription()
Returns:
the description for this page.

getImage

public org.eclipse.swt.graphics.Image getImage()
Returns:
the image for the this page that shall be displayed at the top of the wizard.
See Also:
Image

getWizard

public Wizard getWizard()
Returns:
the wizard which contains this page.
See Also:
Wizard

getPage

public org.eclipse.swt.widgets.Composite getPage()
Returns:
the composite which contains the page.
See Also:
Composite

setPage

public void setPage(org.eclipse.swt.widgets.Composite page)
Parameters:
page - set another composite as the input for this page.
See Also:
Composite

setImage

public void setImage(org.eclipse.swt.graphics.Image image)
Parameters:
image - set another image for this page.
See Also:
Image