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

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

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

the wizard for the Resource Explorer's view (and Resource Explorer like views) for handling the creation of a new Note.

Author:
John Bradley

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
NewNoteWizard()
           
NewNoteWizard(IResourceTreeView myview)
          constructor for basic wizard, when only the owning View is known.
NewNoteWizard(IResourceTreeView myview, String noteNameSuggestion, Vector linktoList)
          constructor to use when a new-note name is provided and a number of items NoteLucened) to include the new note's reference area are to be provided.
 
Method Summary
 void addPages()
           
 void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
           
 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
 
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

NewNoteWizard

public NewNoteWizard()

NewNoteWizard

public NewNoteWizard(IResourceTreeView myview)
constructor for basic wizard, when only the owning View is known.

Parameters:
myview - the owning ViewPart.

NewNoteWizard

public NewNoteWizard(IResourceTreeView myview,
                     String noteNameSuggestion,
                     Vector linktoList)
constructor to use when a new-note name is provided and a number of items NoteLucened) to include the new note's reference area are to be provided.

Parameters:
myview - owning ViewPart.
noteNameSuggestion - note name to use.
linktoList - list of Resources to have reference object. included.
Method Detail

addPages

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

performFinish

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

init

public void init(org.eclipse.ui.IWorkbench workbench,
                 org.eclipse.jface.viewers.IStructuredSelection selection)
Specified by:
init in interface org.eclipse.ui.IWorkbenchWizard