com.ibm.commons.swt.dialog
Class WizardExt

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by com.ibm.commons.swt.dialog.WizardExt
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard

public abstract class WizardExt
extends org.eclipse.jface.wizard.Wizard

Abstract class that must be used when a wizard is intended to be used by LWPDOnePageDialog

See Also:
LWPDOnePageDialog

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
WizardExt()
          Creates a new instanceof of this class.
 
Method Summary
 void addPages()
           
protected abstract  org.eclipse.jface.wizard.IWizardPage createPage()
           
 boolean performFinish()
           
protected  boolean performWizardOperation(org.eclipse.core.runtime.IProgressMonitor monitor)
          The wizard dialog that uses this class only has one wizard page associated with it.
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WizardExt

public WizardExt()
Creates a new instanceof of this class.

Method Detail

performFinish

public boolean performFinish()
Specified by:
performFinish in interface org.eclipse.jface.wizard.IWizard
Specified by:
performFinish in class org.eclipse.jface.wizard.Wizard

performWizardOperation

protected boolean performWizardOperation(org.eclipse.core.runtime.IProgressMonitor monitor)
                                  throws java.lang.reflect.InvocationTargetException,
                                         org.eclipse.core.runtime.CoreException
The wizard dialog that uses this class only has one wizard page associated with it. That page is called to perform the finish operation.

Parameters:
monitor - the progress monitor that should be used to relay progress information
Returns:
true if the operation succeeded
Throws:
java.lang.reflect.InvocationTargetException
org.eclipse.core.runtime.CoreException
See Also:
IDialogPageExt.performDialogOperation(IProgressMonitor)

addPages

public final void addPages()
Specified by:
addPages in interface org.eclipse.jface.wizard.IWizard
Overrides:
addPages in class org.eclipse.jface.wizard.Wizard

createPage

protected abstract org.eclipse.jface.wizard.IWizardPage createPage()
Returns:
the page for this wizard