uk.ac.kcl.cch.jb.pliny.views.utils
Class EditTypeWizard

java.lang.Object
  extended byorg.eclipse.jface.wizard.Wizard
      extended byuk.ac.kcl.cch.jb.pliny.views.utils.EditTypeWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard

public class EditTypeWizard
extends org.eclipse.jface.wizard.Wizard

This wizard provides support when the user either wishes to edit the attributes of a LOType, or create a new one. The actual change/create is managed through a CommandStack so that it is undoable.

Author:
John Bradley

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
EditTypeWizard(TypeManagerView view)
          constructor for using this wizard for { LOType creation.
EditTypeWizard(TypeManagerView view, LOType myType)
          constructor for using this wizard for { LOType editing.
 
Method Summary
 void addPages()
           
 void dispose()
           
 boolean performFinish()
           
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, createPageControls, 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

EditTypeWizard

public EditTypeWizard(TypeManagerView view)
constructor for using this wizard for { LOType creation.

Parameters:
view - the view needed so that its CommandStack is available.

EditTypeWizard

public EditTypeWizard(TypeManagerView view,
                      LOType myType)
constructor for using this wizard for { LOType editing.

Parameters:
view - the view needed so that its CommandStack is available.
myType - the LOType to be changed.
Method Detail

dispose

public void dispose()

addPages

public void addPages()

performFinish

public boolean performFinish()