|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.wizard.Wizard
org.eclipse.rse.ui.wizards.AbstractSystemWizard
org.eclipse.rse.ui.wizards.RSENewConnectionWizard
The New Connection wizard. This wizard allows users to create new RSE connections.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.rse.ui.wizards.AbstractSystemWizard |
|---|
cancelled, finishPressed, helpId, input, minPageHeight, minPageWidth, output, owningDialog, pageTitle, selection, viewer |
| Fields inherited from class org.eclipse.jface.wizard.Wizard |
|---|
DEFAULT_IMAGE |
| Fields inherited from interface org.eclipse.rse.ui.wizards.IRSENewConnectionWizard |
|---|
NEW_CONNECTION_WIZARD_DELEGATE_EXTENSION_CONFIG_ATTRIBUTE_CLASS, NEW_CONNECTION_WIZARD_DELEGATE_EXTENSION_CONFIG_ATTRIBUTE_SYSTEMTYPE, NEW_CONNECTION_WIZARD_DELEGATE_EXTENSION_CONFIG_NAME, NEW_CONNECTION_WIZARD_DELEGATE_EXTENSION_POINT_ID |
| Constructor Summary | |
|---|---|
RSENewConnectionWizard()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addPages()
Creates the wizard pages. |
boolean |
canFinish()
|
IRSENewConnectionWizardDelegate |
getDelegate()
|
IWizardPage |
getNextPage(IWizardPage page)
|
IWizardPage |
getPreviousPage(IWizardPage page)
|
boolean |
performFinish()
Called when finish pressed. |
void |
restrictToSystemType(IRSESystemType systemType)
Restrict to a single system type. |
void |
restrictToSystemTypes(IRSESystemType[] systemTypes)
Restrict system types. |
void |
setSelectedSystemType(IRSESystemType systemType)
Sets the system type that was selected in the wizard. |
| Methods inherited from class org.eclipse.jface.wizard.Wizard |
|---|
createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, 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.ui.IWorkbenchWizard |
|---|
init |
| Methods inherited from interface org.eclipse.jface.wizard.IWizard |
|---|
createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer |
| Constructor Detail |
public RSENewConnectionWizard()
| Method Detail |
public void restrictToSystemType(IRSESystemType systemType)
IRSENewConnectionWizard
restrictToSystemType in interface IRSENewConnectionWizardsystemType - the system type to restrict to.IRSENewConnectionWizard.restrictToSystemType(org.eclipse.rse.core.IRSESystemType)public void restrictToSystemTypes(IRSESystemType[] systemTypes)
IRSENewConnectionWizard
restrictToSystemTypes in interface IRSENewConnectionWizardsystemTypes - the system types to restrict to.IRSENewConnectionWizard.restrictToSystemTypes(org.eclipse.rse.core.IRSESystemType[])public void setSelectedSystemType(IRSESystemType systemType)
IRSENewConnectionWizard
setSelectedSystemType in interface IRSENewConnectionWizardsystemType - the system type.IRSENewConnectionWizard.setSelectedSystemType(org.eclipse.rse.core.IRSESystemType)public IRSENewConnectionWizardDelegate getDelegate()
getDelegate in interface IRSENewConnectionWizardIRSENewConnectionWizard.getDelegate()public void addPages()
AbstractSystemWizard
addPages in interface IWizardaddPages in class AbstractSystemWizardWizard.addPages()public boolean canFinish()
canFinish in interface IWizardWizard.canFinish()public IWizardPage getNextPage(IWizardPage page)
getNextPage in interface IWizardWizard.getNextPage(org.eclipse.jface.wizard.IWizardPage)public IWizardPage getPreviousPage(IWizardPage page)
getPreviousPage in interface IWizardWizard.getPreviousPage(org.eclipse.jface.wizard.IWizardPage)public boolean performFinish()
AbstractSystemWizardReturn true if no errors, false to cancel the finish operation.
Typically, you walk through each wizard page calling performFinish on it, and only return true if they all return true. If one of the pages returns false, you should call setPageError(IWizardPage), which shows a message to the user about an error pending on another page, if the given page is not the current page.
performFinish in interface IWizardperformFinish in class AbstractSystemWizardWizard.performFinish()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||