public class NewFolderWizard extends WizardAdapter
Modifier and Type | Class and Description |
---|---|
protected class |
NewFolderWizard.FolderPage
The workspace page for creating a new workspace.
|
protected static interface |
NewFolderWizard.IFolderPage |
Modifier and Type | Field and Description |
---|---|
protected IStandardModalDialog |
dialog_ |
protected boolean |
finished_ |
protected String |
folder_ |
protected NewFolderWizard.IFolderPage |
folderPage_ |
protected IAbstractFolderProvider |
provider_ |
protected IWorkbench |
workbench_ |
Constructor and Description |
---|
NewFolderWizard(IWorkbench workbench,
IAbstractFolderProvider provider) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
This method is called when the user canceled the operation.
|
void |
finish()
Is called when the wizard should finish the process.
|
String |
getCreatedFolder() |
IWizardPage |
getFirstPage(IStandardModalDialog dialog)
Should return the first page of the wizard.
|
IWizardPage |
getNextPage()
Should return the next page of the wizard.
|
IWizardPage |
getPreviousPage()
Should return the previous page of the wizard.
|
String |
getTitle()
Returns the title for the wizard.
|
void |
windowActivated(WindowEvent event) |
void |
windowClosed(WindowEvent event) |
windowClosing, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
protected NewFolderWizard.IFolderPage folderPage_
protected IAbstractFolderProvider provider_
protected String folder_
protected IStandardModalDialog dialog_
protected boolean finished_
protected IWorkbench workbench_
public NewFolderWizard(IWorkbench workbench, IAbstractFolderProvider provider)
public String getCreatedFolder()
public void cancel()
IWizard
public void finish()
IWizard
public IWizardPage getFirstPage(IStandardModalDialog dialog)
IWizard
dialog
- the dialog in which the wizard is loadedpublic IWizardPage getNextPage()
IWizard
public IWizardPage getPreviousPage()
IWizard
public String getTitle()
IWizard
public void windowActivated(WindowEvent event)
windowActivated
in interface WindowListener
windowActivated
in class WindowAdapter
public void windowClosed(WindowEvent event)
windowClosed
in interface WindowListener
windowClosed
in class WindowAdapter