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:
- org.eclipse.jface.window.IShellProvider,- org.eclipse.jface.wizard.IWizard,- org.eclipse.ui.INewWizard,- org.eclipse.ui.IWorkbenchWizard
public class NewServerWizard extends org.eclipse.jface.wizard.Wizard implements org.eclipse.ui.INewWizard
Wizard to create a new Server.
- Author:
- Christopher Mindus
- Field SummaryFields- Fields inherited from class org.eclipse.jface.wizard.Wizard- DEFAULT_IMAGE
- Constructor SummaryConstructorsConstructorDescriptionCreates the text table wizard.- NewServerWizard- (com.iizigo.ui.server.monitor.ServerInstance si, int editIndex) Creates the text table wizard.
- Method SummaryModifier and TypeMethodDescription- void- addPages()Adds the extra required pages.- void- init- (org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection) Initializes this creation wizard using the passed workbench and object selection.- static com.iizigo.ui.server.monitor.ServerInstance- open- (org.eclipse.swt.widgets.Shell shell, com.iizigo.ui.server.monitor.ServerInstance si, int editIndex) Requests a new server wizard.- booleanFinishes the dialog.- 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, 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, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
- Field Details- WIZARD_IDThe ID.
 
- Constructor Details- NewServerWizardpublic NewServerWizard()Creates the text table wizard.
- NewServerWizardpublic NewServerWizard- (com.iizigo.ui.server.monitor.ServerInstance si, int editIndex) Creates the text table wizard.
 
- Method Details- openpublic static com.iizigo.ui.server.monitor.ServerInstance open- (org.eclipse.swt.widgets.Shell shell, com.iizigo.ui.server.monitor.ServerInstance si, int editIndex) Requests a new server wizard.
- initpublic void init- (org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection) Initializes this creation wizard using the passed workbench and object selection.- Specified by:
- initin interface- org.eclipse.ui.IWorkbenchWizard
 
- addPagespublic void addPages()Adds the extra required pages.- Specified by:
- addPagesin interface- org.eclipse.jface.wizard.IWizard
- Overrides:
- addPagesin class- org.eclipse.jface.wizard.Wizard
 
- performFinishpublic boolean performFinish()Finishes the dialog.- Specified by:
- performFinishin interface- org.eclipse.jface.wizard.IWizard
- Specified by:
- performFinishin class- org.eclipse.jface.wizard.Wizard
- Returns:
- true to indicate the finish request was accepted, and false to indicate that the finish request was refused.