|
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.AbstractSystemNewConnectionWizardPage
org.eclipse.rse.files.ui.wizards.SystemFileNewConnectionWizardPage
A page that prompts for unique universal files information in the New Connection wizard. This page appears for remote Unix, Linux and Windows connections but not for iSeries or Local connections.
| Field Summary | |
|---|---|
protected boolean |
enablePortSelection
|
protected SystemMessage |
errorMessage
|
protected Label |
labelPortPrompt
|
protected ISystemValidator |
portValidator
|
protected Text |
textPort
|
| Fields inherited from class org.eclipse.rse.ui.wizards.AbstractSystemNewConnectionWizardPage |
|---|
parentFactory |
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
|---|
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
|---|---|
SystemFileNewConnectionWizardPage(IWizard wizard,
ISubSystemConfiguration parentFactory)
Constructor |
|
| Method Summary | |
|---|---|
Control |
createContents(Composite parent)
Abstract method. |
protected Control |
getInitialFocusControl()
Abstract method. |
int |
getPortNumber()
Return the user-entered port number |
protected ISystemValidator |
getPortValidator()
Get the port validator. |
boolean |
isInformationalOnly()
Return true if we support port selection yet |
boolean |
isPageComplete()
Return true if the page is complete, so to enable Finish. |
protected boolean |
isPortEditable()
Return true if the port is editable for this subsystem |
boolean |
performFinish()
This is called when the users presses Finish. |
void |
setEnablePortSelection(boolean flag)
|
protected SystemMessage |
validatePortInput()
Validate port value as it is typed |
| Methods inherited from class org.eclipse.rse.ui.wizards.AbstractSystemNewConnectionWizardPage |
|---|
getMainPage, getMainPageForm, getNewConnectionWizard, getSubSystemConfiguration |
| 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 |
|---|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, 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.jface.wizard.IWizardPage |
|---|
canFlipToNextPage, getName, getNextPage, getPreviousPage, getWizard, setPreviousPage, setWizard |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
|---|
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
| Methods inherited from interface org.eclipse.rse.ui.messages.ISystemMessageLine |
|---|
getErrorMessage, getMessage |
| Field Detail |
protected Label labelPortPrompt
protected Text textPort
protected ISystemValidator portValidator
protected SystemMessage errorMessage
protected boolean enablePortSelection
| Constructor Detail |
public SystemFileNewConnectionWizardPage(IWizard wizard,
ISubSystemConfiguration parentFactory)
| Method Detail |
public boolean isInformationalOnly()
protected Control getInitialFocusControl()
AbstractSystemWizardPageChild classes must override this, but can return null.
getInitialFocusControl in class AbstractSystemNewConnectionWizardPageAbstractSystemWizardPage.getInitialFocusControl()public void setEnablePortSelection(boolean flag)
protected ISystemValidator getPortValidator()
public Control createContents(Composite parent)
AbstractSystemWizardPage
You may find it useful to use the static methods in SystemWidgetHelpers.
If you do keystroke validation, you should call AbstractSystemWizardPage.setErrorMessage(SystemMessage) if you detect errors, and also
WizardPage.setPageComplete(boolean) to affect the enablement of the next and finish buttons.
createContents in class AbstractSystemNewConnectionWizardPageAbstractSystemWizardPage.createContents(Composite)protected boolean isPortEditable()
public boolean performFinish()
ISystemNewConnectionWizardPage
performFinish in interface ISystemNewConnectionWizardPageperformFinish in class AbstractSystemNewConnectionWizardPageISystemWizardPage.performFinish()public int getPortNumber()
protected SystemMessage validatePortInput()
public boolean isPageComplete()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||