|
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.RSENewConnectionWizardMainPage
The New Connection Wizard main page that allows selection of system type.
| Field Summary | |
|---|---|
protected Text |
descriptionSystemType
|
protected IWizardPage |
nextPage
|
protected String |
parentHelpId
|
protected IRSESystemType[] |
restrictedSystemTypes
|
protected List |
textSystemType
|
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
|---|
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
|---|---|
RSENewConnectionWizardMainPage(IRSENewConnectionWizard wizard,
String title,
String description)
Constructor. |
|
| Method Summary | |
|---|---|
Control |
createContents(Composite parent)
Abstract method. |
protected Control |
getInitialFocusControl()
Abstract method. |
IWizardPage |
getNextPage()
|
boolean |
performFinish()
Abstract method. |
void |
restrictToSystemTypes(IRSESystemType[] systemTypes)
|
void |
widgetDefaultSelected(SelectionEvent e)
Handle dbl-click on list: select, then go to next page |
void |
widgetSelected(SelectionEvent e)
Handle single-click on list |
| 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, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, 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.messages.ISystemMessageLine |
|---|
getErrorMessage, getMessage |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
|---|
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp |
| Field Detail |
protected String parentHelpId
protected List textSystemType
protected Text descriptionSystemType
protected IWizardPage nextPage
protected IRSESystemType[] restrictedSystemTypes
| Constructor Detail |
public RSENewConnectionWizardMainPage(IRSENewConnectionWizard wizard,
String title,
String description)
wizard - the wizard.title - the title of the wizard page.description - the description of the wizard page.| Method Detail |
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 AbstractSystemWizardPageAbstractSystemWizardPage.createContents(org.eclipse.swt.widgets.Composite)public void restrictToSystemTypes(IRSESystemType[] systemTypes)
protected Control getInitialFocusControl()
AbstractSystemWizardPageChild classes must override this, but can return null.
getInitialFocusControl in class AbstractSystemWizardPageAbstractSystemWizardPage.getInitialFocusControl()public boolean performFinish()
AbstractSystemWizardPageCalled by the main wizard when the user presses Finish. The operation will be cancelled if this method returns false for any page.
performFinish in interface ISystemWizardPageperformFinish in class AbstractSystemWizardPageAbstractSystemWizardPage.performFinish()public IWizardPage getNextPage()
getNextPage in interface IWizardPageWizardPage.getNextPage()public void widgetSelected(SelectionEvent e)
widgetSelected in interface SelectionListenerSelectionListener.widgetSelected(org.eclipse.swt.events.SelectionEvent)public void widgetDefaultSelected(SelectionEvent e)
widgetDefaultSelected in interface SelectionListenerSelectionListener.widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||