org.eclipse.rse.ui.wizards
Class RSENewConnectionWizardMainPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.rse.ui.wizards.AbstractSystemWizardPage
org.eclipse.rse.ui.wizards.RSENewConnectionWizardMainPage
- All Implemented Interfaces:
- IDialogPage, IMessageProvider, ISystemMessageLine, ISystemWizardPage, IWizardPage, Listener
- public class RSENewConnectionWizardMainPage
- extends AbstractSystemWizardPage
- implements Listener
The New Connection Wizard main page that allows selection of 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 |
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 |
parentHelpId
protected String parentHelpId
textSystemType
protected List textSystemType
descriptionSystemType
protected Text descriptionSystemType
nextPage
protected IWizardPage nextPage
restrictedSystemTypes
protected IRSESystemType[] restrictedSystemTypes
RSENewConnectionWizardMainPage
public RSENewConnectionWizardMainPage(IRSENewConnectionWizard wizard,
String title,
String description)
- Constructor.
- Parameters:
wizard - the wizard.title - the title of the wizard page.description - the description of the wizard page.
createContents
public Control createContents(Composite parent)
- Description copied from class:
AbstractSystemWizardPage
- Abstract method.
Create the page contents here.
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.
- Specified by:
createContents in class AbstractSystemWizardPage
- See Also:
AbstractSystemWizardPage.createContents(org.eclipse.swt.widgets.Composite)
restrictToSystemTypes
public void restrictToSystemTypes(IRSESystemType[] systemTypes)
getInitialFocusControl
protected Control getInitialFocusControl()
- Description copied from class:
AbstractSystemWizardPage
- Abstract method.
Return the Control to be given initial focus.
Child classes must override this, but can return null.
- Specified by:
getInitialFocusControl in class AbstractSystemWizardPage
- See Also:
AbstractSystemWizardPage.getInitialFocusControl()
performFinish
public boolean performFinish()
- Description copied from class:
AbstractSystemWizardPage
- Abstract method.
Perform error checking of the page contents, returning true only if there are no errors.
Called by the main wizard when the user presses Finish. The operation will be cancelled if
this method returns false for any page.
- Specified by:
performFinish in interface ISystemWizardPage- Specified by:
performFinish in class AbstractSystemWizardPage
- See Also:
AbstractSystemWizardPage.performFinish()
getNextPage
public IWizardPage getNextPage()
- Specified by:
getNextPage in interface IWizardPage
- See Also:
WizardPage.getNextPage()
handleEvent
public void handleEvent(Event event)
- Specified by:
handleEvent in interface Listener
- See Also:
Listener.handleEvent(org.eclipse.swt.widgets.Event)
Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.