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, removePage
windowClosing, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
public 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()
IWizard
public void finish()
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