public class NewFileWizard extends SimpleWizard
| Modifier and Type | Class and Description |
|---|---|
class |
NewFileWizard.NewFilePage |
| Constructor and Description |
|---|
NewFileWizard(IWorkbench workbench,
IFileInterpreterProvider provider,
String defaultFolder,
String extension,
String title,
String description,
Image image) |
NewFileWizard(IWorkbench workbench,
IFileInterpreterProvider provider,
String defaultFolder,
String extension,
String title,
String description,
Image image,
boolean openAfterCreation) |
| 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.
|
IFileInterpreter |
getCreatedFile() |
String |
getTitle()
Returns the title for the wizard.
|
void |
setCanFinishAfterFileCreation(boolean canFinish) |
void |
setForceExtension(boolean forceExtension) |
void |
setOpenAfterCreation(boolean openAfterCreation) |
void |
windowActivated(WindowEvent event) |
void |
windowClosed(WindowEvent event) |
addPage, getCurrentPage, getFirstPage, getNextPage, getPreviousPage, getWizardDialog, pageIsInvalid, pageIsValid, removePagewindowClosing, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwindowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpenedpublic NewFileWizard(IWorkbench workbench, IFileInterpreterProvider provider, String defaultFolder, String extension, String title, String description, Image image)
public NewFileWizard(IWorkbench workbench, IFileInterpreterProvider provider, String defaultFolder, String extension, String title, String description, Image image, boolean openAfterCreation)
public void setCanFinishAfterFileCreation(boolean canFinish)
public void setOpenAfterCreation(boolean openAfterCreation)
public void setForceExtension(boolean forceExtension)
public IFileInterpreter getCreatedFile()
public void cancel()
IWizardpublic void finish()
IWizardpublic String getTitle()
IWizardpublic void windowActivated(WindowEvent event)
windowActivated in interface WindowListenerwindowActivated in class WindowAdapterpublic void windowClosed(WindowEvent event)
windowClosed in interface WindowListenerwindowClosed in class WindowAdapter