Package com.iizigo.ui.server.monitor
Class NewServerWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
com.iizigo.ui.server.monitor.NewServerWizard
- All Implemented Interfaces:
IShellProvider
,IWizard
,INewWizard
,IWorkbenchWizard
Wizard to create a new Server.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
Constructor Summary
ConstructorDescriptionCreates the text table wizard.NewServerWizard
(com.iizigo.ui.server.monitor.ServerInstance si, int editIndex) Creates the text table wizard.Method Summary
Modifier and TypeMethodDescriptionvoid
addPages()
Adds the extra required pages.void
init
(IWorkbench workbench, IStructuredSelection selection) Initializes this creation wizard using the passed workbench and object selection.static com.iizigo.ui.server.monitor.ServerInstance
Requests a new server wizard.boolean
Finishes the dialog.Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jface.wizard.IWizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
Field Details
WIZARD_ID
The ID.
Constructor Details
NewServerWizard
public NewServerWizard()Creates the text table wizard.NewServerWizard
public NewServerWizard(com.iizigo.ui.server.monitor.ServerInstance si, int editIndex) Creates the text table wizard.
Method Details
open
public static com.iizigo.ui.server.monitor.ServerInstance open(Shell shell, com.iizigo.ui.server.monitor.ServerInstance si, int editIndex) Requests a new server wizard.init
Initializes this creation wizard using the passed workbench and object selection.- Specified by:
init
in interfaceIWorkbenchWizard
addPages
public void addPages()Adds the extra required pages.performFinish
public boolean performFinish()Finishes the dialog.- Specified by:
performFinish
in interfaceIWizard
- Specified by:
performFinish
in classWizard
- Returns:
- true to indicate the finish request was accepted, and false to indicate that the finish request was refused.