Package com.iizigo.server
Class NewServerConfigWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
com.iizigo.server.NewServerConfigWizard
- All Implemented Interfaces:
IShellProvider,IWizard,INewWizard,IWorkbenchWizard
Wizard to open or create a Server configuration file.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGEConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionvoidaddPages()Adds required pages.static voidcreateDefault(File file) Creates a default instance of the Server settings.Gets the file name created after wizard completed successfully.voidinit(IWorkbench workbench, IStructuredSelection selection) Initializes the wizard with the selection.booleanFinishes the wizard.voidSets the view to update.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, setWindowTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 Details
NewServerConfigWizard
public NewServerConfigWizard()Constructor.
Method Details
setServerConfigComposite
Sets the view to update.init
Initializes the wizard with the selection.- Specified by:
initin interfaceIWorkbenchWizard
addPages
public void addPages()Adds required pages.performFinish
public boolean performFinish()Finishes the wizard.- Specified by:
performFinishin interfaceIWizard- Specified by:
performFinishin classWizard
getFileName
Gets the file name created after wizard completed successfully.createDefault
Creates a default instance of the Server settings.- Parameters:
file- The file name to create.- Throws:
IOException- For I/O errors.