|
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.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.rse.ui.wizards.AbstractSystemWizardPage
org.eclipse.rse.ui.wizards.SystemNewConnectionWizardDefaultMainPage
Default main page of the "New Connection" wizard. This page asks for the primary information, including:
| Field Summary | |
|---|---|
protected SystemConnectionForm |
form
|
protected String |
parentHelpId
|
protected String[] |
restrictSystemTypesTo
|
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
|---|
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
|---|---|
SystemNewConnectionWizardDefaultMainPage(Wizard wizard,
String title,
String description)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
canFlipToNextPage()
Intercept of WizardPge so we know when the wizard framework is deciding whether to enable next or not. |
Control |
createContents(Composite parent)
CreateContents is the one method that must be overridden from the parent class. |
String |
getConnectionDescription()
Return user-entered Description. |
String |
getConnectionName()
Return user-entered Connection Name. |
String |
getDefaultUserId()
Return user-entered Default User Id. |
int |
getDefaultUserIdLocation()
Return location where default user id is to be set. |
protected SystemConnectionForm |
getForm()
Overrride this if you want to supply your own form. |
String |
getHostName()
Return user-entered Host Name. |
protected Control |
getInitialFocusControl()
Return the Control to be given initial focus. |
Object |
getLayoutData()
|
IWizardPage |
getNextPage()
Intercept of WizardPage so we know when Next is pressed |
String |
getProfileName()
Return name of profile to contain new connection. |
String |
getSystemType()
Return user-entered System Type. |
boolean |
isPageComplete()
Return true if the page is complete, so to enable Finish. |
boolean |
performFinish()
Completes processing of the wizard. |
void |
restrictSystemType(String systemType)
Call this to restrict the system type that the user is allowed to choose |
void |
restrictSystemTypes(String[] systemTypes)
Call this to restrict the system types that the user is allowed to choose |
void |
setConnectionName(String name)
Preset the connection name |
void |
setConnectionNameValidators(ISystemValidator[] v)
Call this to specify a validator for the connection name. |
void |
setCurrentlySelectedConnection(IHost connection)
Set the currently selected connection so as to better initialize input fields |
void |
setHostName(String name)
Preset the host name |
void |
setHostNameValidator(ISystemValidator v)
Call this to specify a validator for the hostname. |
void |
setLayoutData(Object gridData)
|
void |
setProfileNamePreSelection(String name)
Set the profile name to preselect |
void |
setProfileNames(String[] names)
Set the profile names to show in the combo |
void |
setUserId(String userId)
This method allows setting of the initial user Id. |
void |
setUserIdValidator(ISystemValidator v)
Call this to specify a validator for the userId. |
void |
systemTypeSelected(String systemType,
boolean duringInitialization)
Event: the user has selected a system type. |
| Methods inherited from class org.eclipse.rse.ui.wizards.AbstractSystemWizardPage |
|---|
addFillerLine, addGrowableFillerLine, addSeparatorLine, applyMnemonics, clearErrorMessage, clearMessage, createControl, getHelpContextId, getInputObject, getMessageLine, getSystemErrorMessage, setBusyCursor, setErrorMessage, setErrorMessage, setErrorMessage, setFocus, setHelp, setHelp, setInputObject, setMessage, setMessage, setVisible |
| Methods inherited from class org.eclipse.jface.wizard.WizardPage |
|---|
getContainer, getDialogSettings, getImage, getName, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
|---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.rse.ui.wizards.ISystemWizardPage |
|---|
getHelpContextId, getInputObject, setHelp, setInputObject |
| Methods inherited from interface org.eclipse.rse.ui.messages.ISystemMessageLine |
|---|
clearErrorMessage, clearMessage, getErrorMessage, getMessage, getSystemErrorMessage, setErrorMessage, setErrorMessage, setErrorMessage, setMessage, setMessage |
| Methods inherited from interface org.eclipse.rse.ui.ISystemConnectionFormCaller |
|---|
getShell |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
|---|
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp |
| Field Detail |
protected String[] restrictSystemTypesTo
protected SystemConnectionForm form
protected String parentHelpId
| Constructor Detail |
public SystemNewConnectionWizardDefaultMainPage(Wizard wizard,
String title,
String description)
| Method Detail |
public void restrictSystemType(String systemType)
restrictSystemType in interface ISystemNewConnectionWizardMainPagepublic void restrictSystemTypes(String[] systemTypes)
restrictSystemTypes in interface ISystemNewConnectionWizardMainPageprotected SystemConnectionForm getForm()
SystemConnectionFormpublic void setConnectionNameValidators(ISystemValidator[] v)
setConnectionNameValidators in interface ISystemNewConnectionWizardMainPagepublic void setHostNameValidator(ISystemValidator v)
setHostNameValidator in interface ISystemNewConnectionWizardMainPagepublic void setUserIdValidator(ISystemValidator v)
setUserIdValidator in interface ISystemNewConnectionWizardMainPagepublic void setUserId(String userId)
setUserId in interface ISystemNewConnectionWizardMainPagepublic void setProfileNames(String[] names)
setProfileNames in interface ISystemNewConnectionWizardMainPagepublic void setProfileNamePreSelection(String name)
setProfileNamePreSelection in interface ISystemNewConnectionWizardMainPagepublic void setCurrentlySelectedConnection(IHost connection)
setCurrentlySelectedConnection in interface ISystemNewConnectionWizardMainPagepublic void setConnectionName(String name)
setConnectionName in interface ISystemNewConnectionWizardMainPagepublic void setHostName(String name)
setHostName in interface ISystemNewConnectionWizardMainPagepublic Control createContents(Composite parent)
createContents in class AbstractSystemWizardPageSystemWidgetHelpersprotected Control getInitialFocusControl()
getInitialFocusControl in class AbstractSystemWizardPagepublic boolean performFinish()
performFinish in interface ISystemWizardPageperformFinish in class AbstractSystemWizardPagepublic String getSystemType()
getSystemType in interface ISystemNewConnectionWizardMainPagepublic String getConnectionName()
getConnectionName in interface ISystemNewConnectionWizardMainPagepublic String getHostName()
getHostName in interface ISystemNewConnectionWizardMainPagepublic String getDefaultUserId()
getDefaultUserId in interface ISystemNewConnectionWizardMainPagepublic int getDefaultUserIdLocation()
getDefaultUserIdLocation in interface ISystemNewConnectionWizardMainPageISystemUserIdConstantspublic String getConnectionDescription()
getConnectionDescription in interface ISystemNewConnectionWizardMainPagepublic String getProfileName()
getProfileName in interface ISystemNewConnectionWizardMainPagepublic Object getLayoutData()
public void setLayoutData(Object gridData)
public boolean isPageComplete()
isPageComplete in interface IWizardPagepublic IWizardPage getNextPage()
getNextPage in interface IWizardPagepublic boolean canFlipToNextPage()
canFlipToNextPage in interface IWizardPage
public void systemTypeSelected(String systemType,
boolean duringInitialization)
systemTypeSelected in interface ISystemConnectionFormCallersystemType - the type of system selectedduringInitialization - true if this is being set at page initialization time versus selected by the user
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||