sk.uniba.euromath.editor.wizards
Class AbstractWizard

java.lang.Object
  extended by sk.uniba.euromath.editor.wizards.AbstractWizard
All Implemented Interfaces:
IWizard
Direct Known Subclasses:
ExportWizardExtension, NewXMLDocumentWizard

public abstract class AbstractWizard
extends Object
implements IWizard

Contains one empty page. Intended only to invoke EuroMath2-specific wizards, do not use for implementing your own wizards.

Author:
Martin Vysny

Field Summary
protected  IWizardContainer container
          The container.
 
Constructor Summary
AbstractWizard()
          Constructor.
 
Method Summary
 void addPages()
           
 boolean canFinish()
           
 void createPageControls(Composite pageContainer)
           
 void dispose()
           
protected abstract  void executeWizard()
          Shows and executes the underlying wizard.
 IWizardContainer getContainer()
           
 Image getDefaultPageImage()
           
 IDialogSettings getDialogSettings()
           
 IWizardPage getNextPage(IWizardPage page)
           
 IWizardPage getPage(String pageName)
           
 int getPageCount()
           
 IWizardPage[] getPages()
           
 IWizardPage getPreviousPage(IWizardPage page)
           
 IWizardPage getStartingPage()
           
 RGB getTitleBarColor()
           
 String getWindowTitle()
           
 boolean isHelpAvailable()
           
 boolean needsPreviousAndNextButtons()
           
 boolean needsProgressMonitor()
           
 boolean performCancel()
           
 boolean performFinish()
           
 void setContainer(IWizardContainer wizardContainer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

container

protected IWizardContainer container
The container.

Constructor Detail

AbstractWizard

public AbstractWizard()
Constructor.

Method Detail

addPages

public void addPages()
Specified by:
addPages in interface IWizard

canFinish

public boolean canFinish()
Specified by:
canFinish in interface IWizard

createPageControls

public void createPageControls(Composite pageContainer)
Specified by:
createPageControls in interface IWizard

dispose

public void dispose()
Specified by:
dispose in interface IWizard

getContainer

public IWizardContainer getContainer()
Specified by:
getContainer in interface IWizard

getDefaultPageImage

public Image getDefaultPageImage()
Specified by:
getDefaultPageImage in interface IWizard

getDialogSettings

public IDialogSettings getDialogSettings()
Specified by:
getDialogSettings in interface IWizard

getNextPage

public IWizardPage getNextPage(IWizardPage page)
Specified by:
getNextPage in interface IWizard

getPage

public IWizardPage getPage(String pageName)
Specified by:
getPage in interface IWizard

getPageCount

public int getPageCount()
Specified by:
getPageCount in interface IWizard

getPages

public IWizardPage[] getPages()
Specified by:
getPages in interface IWizard

getPreviousPage

public IWizardPage getPreviousPage(IWizardPage page)
Specified by:
getPreviousPage in interface IWizard

getStartingPage

public IWizardPage getStartingPage()
Specified by:
getStartingPage in interface IWizard

getTitleBarColor

public RGB getTitleBarColor()
Specified by:
getTitleBarColor in interface IWizard

getWindowTitle

public String getWindowTitle()
Specified by:
getWindowTitle in interface IWizard

isHelpAvailable

public boolean isHelpAvailable()
Specified by:
isHelpAvailable in interface IWizard

needsPreviousAndNextButtons

public boolean needsPreviousAndNextButtons()
Specified by:
needsPreviousAndNextButtons in interface IWizard

needsProgressMonitor

public boolean needsProgressMonitor()
Specified by:
needsProgressMonitor in interface IWizard

performCancel

public boolean performCancel()
Specified by:
performCancel in interface IWizard

performFinish

public boolean performFinish()
Specified by:
performFinish in interface IWizard

setContainer

public void setContainer(IWizardContainer wizardContainer)
Specified by:
setContainer in interface IWizard

executeWizard

protected abstract void executeWizard()
Shows and executes the underlying wizard.



Copyright © 2003-2006 null. All Rights Reserved.