com.ibm.jdg2e.view.simplemodel.wizard
Class NewLocation

java.lang.Object
  extended byorg.eclipse.jface.wizard.Wizard
      extended bycom.ibm.jdg2e.view.simplemodel.wizard.NewLocation
All Implemented Interfaces:
org.eclipse.ui.INewWizard, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.IWorkbenchWizard

public class NewLocation
extends org.eclipse.jface.wizard.Wizard
implements org.eclipse.ui.INewWizard


Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
NewLocation()
           
 
Method Summary
 void addPages()
          This is a one page wizard so the one and only page is added here.
 void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
          (non-Javadoc)
 boolean performFinish()
          The request to add a new location is processed.
 
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
 
Methods inherited from interface org.eclipse.jface.wizard.IWizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
 

Constructor Detail

NewLocation

public NewLocation()
Method Detail

addPages

public void addPages()
This is a one page wizard so the one and only page is added here.

Specified by:
addPages in interface org.eclipse.jface.wizard.IWizard
See Also:
IWizard.addPages()

init

public void init(org.eclipse.ui.IWorkbench workbench,
                 org.eclipse.jface.viewers.IStructuredSelection selection)
(non-Javadoc)

Specified by:
init in interface org.eclipse.ui.IWorkbenchWizard
See Also:
IWorkbenchWizard.init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)

performFinish

public boolean performFinish()
The request to add a new location is processed. If a non-null ILocation is returned from the SimpleModel add request then the task was successful.

Specified by:
performFinish in interface org.eclipse.jface.wizard.IWizard
See Also:
Wizard.performFinish()