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

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

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

provides the wizard that allows the user to delete an LOType in situations when there are LinkableObject or Link items that refer to the this item by asking the user to select a replacement LOType.

Author:
John Bradley

Nested Class Summary
 class DeleteTypeWizard.SelectReplacementTypePage
           
 
Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
DeleteTypeWizard(TypeManagerView myView, LOType theType, int count)
          constructor for this wizard.
 
Method Summary
 void addPages()
           
 boolean performFinish()
           
 
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

DeleteTypeWizard

public DeleteTypeWizard(TypeManagerView myView,
                        LOType theType,
                        int count)
constructor for this wizard.

Parameters:
myView - the view attached to the wizard. This is needed so that its CommandStack can be available.
theType - the LOType to be deleted.
count - the number of items that use this LOType.
Method Detail

addPages

public void addPages()

performFinish

public boolean performFinish()