public class NewWizard extends Wizard implements INewWizard, IDefaultValueConsumer
DEFAULT_IMAGE| Constructor and Description |
|---|
NewWizard() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue(String key)
Returns the default value for the given key
|
IStructuredSelection |
getSelection() |
IWorkbench |
getWorkbench() |
void |
init(Dictionary defaultValues)
Initializes the consumer with the values.
|
void |
init(IWorkbench workbench,
IStructuredSelection selection)
Initializes this creation wizard using the passed workbench and
object selection.
|
boolean |
performFinish()
Subclasses must implement this
IWizard method to perform
any special finish processing for their wizard. |
addPage, addPages, 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, setWindowTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainerpublic NewWizard()
public IStructuredSelection getSelection()
public IWorkbench getWorkbench()
public void init(IWorkbench workbench, IStructuredSelection selection)
IWorkbenchWizardThis method is called after the no argument constructor and before other methods are called.
init in interface IWorkbenchWizardworkbench - the current workbenchselection - the current object selectionpublic boolean performFinish()
WizardIWizard method to perform
any special finish processing for their wizard.performFinish in interface IWizardperformFinish in class Wizardtrue to indicate the finish request
was accepted, and false to indicate
that the finish request was refusedpublic final String getDefaultValue(String key)
IDefaultValueConsumergetDefaultValue in interface IDefaultValueConsumernull if not provided.public final void init(Dictionary defaultValues)
IDefaultValueConsumerinit in interface IDefaultValueConsumer