com.ibm.lab.soln.dialogs
Class MyBasicWizardPage2

java.lang.Object
  |
  +--org.eclipse.jface.dialogs.DialogPage
        |
        +--org.eclipse.jface.wizard.WizardPage
              |
              +--com.ibm.lab.soln.dialogs.MyBasicWizardPage2
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class MyBasicWizardPage2
extends org.eclipse.jface.wizard.WizardPage

A simple WizardPage used to demonstrate multi page wizard operation and page state management.


Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
MyBasicWizardPage2(java.lang.String pageName)
           
MyBasicWizardPage2(java.lang.String pageName, java.lang.String title, org.eclipse.jface.resource.ImageDescriptor titleImage)
          Customized constructor that sets the default page status field text.
MyBasicWizardPage2(java.lang.String pageName, java.lang.String title, org.eclipse.jface.resource.ImageDescriptor titleImage, boolean pageStatus)
          Customized constructor that initializes page complete status and set page status field text.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          Creates the top level dialog control under the given parent composite.
 void setVisible(boolean visible)
          Override of Wizardpage method to demonstrate timing of page framework methods.
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setControl, setMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp
 

Constructor Detail

MyBasicWizardPage2

public MyBasicWizardPage2(java.lang.String pageName)

MyBasicWizardPage2

public MyBasicWizardPage2(java.lang.String pageName,
                          java.lang.String title,
                          org.eclipse.jface.resource.ImageDescriptor titleImage)
Customized constructor that sets the default page status field text.
See Also:
WizardPage.WizardPage(String, String, ImageDescriptor)

MyBasicWizardPage2

public MyBasicWizardPage2(java.lang.String pageName,
                          java.lang.String title,
                          org.eclipse.jface.resource.ImageDescriptor titleImage,
                          boolean pageStatus)
Customized constructor that initializes page complete status and set page status field text.
Parameters:
pageName -  
title -  
titleImage -  
pageStatus - - used to set page complete status at first use
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Creates the top level dialog control under the given parent composite.

Implementors are responsible for ensuring that the created control can be accessed via getControl

Overrides:
createControl in class org.eclipse.jface.dialogs.DialogPage
Parameters:
parent - the parent composite

setVisible

public void setVisible(boolean visible)
Override of Wizardpage method to demonstrate timing of page framework methods.
Overrides:
setVisible in class org.eclipse.jface.dialogs.DialogPage
Parameters:
visible - boolean that identifies page as either gaining or loosing focus.