|
org.eclipse.rse.ui.wizards
Class AbstractSystemNewConnectionWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.rse.ui.wizards.AbstractSystemWizardPage
org.eclipse.rse.ui.wizards.AbstractSystemNewConnectionWizardPage
-
All Implemented Interfaces:
-
IDialogPage,
IMessageProvider,
IWizardPage,
ISubSystemConfigurator,
ISystemMessageLine,
ISystemWizardPage, org.eclipse.rse.ui.wizards.newconnection.ISystemNewConnectionWizardPage
-
Direct Known Subclasses:
-
SubSystemServiceWizardPage
-
public abstract class AbstractSystemNewConnectionWizardPage
- extends
AbstractSystemWizardPage
- implements org.eclipse.rse.ui.wizards.newconnection.ISystemNewConnectionWizardPage,
IWizardPage
A base class for additional pages that are to be appended to the New Connection wizard.
-
See Also:
-
ISubSystemConfigurationAdapter.getNewConnectionWizardPages(ISubSystemConfiguration, org.eclipse.jface.wizard.IWizard)
Methods inherited from class org.eclipse.rse.ui.wizards.
AbstractSystemWizardPage
|
addFillerLine,
addGrowableFillerLine,
addSeparatorLine,
applyMnemonics,
clearErrorMessage,
clearMessage,
createControl,
dispose,
getHelpContextId,
getInputObject,
getMessageLine,
getSystemErrorMessage,
setErrorMessage,
setErrorMessage,
setErrorMessage,
setFocus,
setHelp,
setInputObject,
setMessage,
setMessage,
setMessage,
setVisible
|
Methods inherited from class org.eclipse.jface.wizard.
WizardPage
|
canFlipToNextPage,
getContainer,
getDialogSettings,
getImage,
getName,
getNextPage,
getPreviousPage,
getShell,
getWizard,
isCurrentPage,
isPageComplete,
setDescription,
setImageDescriptor,
setPageComplete,
setPreviousPage,
setTitle,
setWizard,
toString
|
Methods inherited from class org.eclipse.jface.dialogs.
DialogPage
|
convertHeightInCharsToPixels,
convertHorizontalDLUsToPixels,
convertVerticalDLUsToPixels,
convertWidthInCharsToPixels,
getControl,
getDescription,
getDialogFontName,
getErrorMessage,
getFont,
getMessage,
getMessageType,
getTitle,
getToolTipText,
initializeDialogUnits,
isControlCreated,
performHelp,
setButtonLayoutData,
setControl
|
Methods inherited from interface org.eclipse.rse.ui.wizards.newconnection.ISystemNewConnectionWizardPage
|
isPageComplete
|
Methods inherited from interface org.eclipse.jface.dialogs.
IDialogPage
|
createControl,
dispose,
getControl,
getDescription,
getErrorMessage,
getImage,
getMessage,
getTitle,
performHelp,
setDescription,
setImageDescriptor,
setTitle,
setVisible
|
parentFactory
protected
ISubSystemConfiguration parentFactory
AbstractSystemNewConnectionWizardPage
public AbstractSystemNewConnectionWizardPage(
IWizard wizard,
ISubSystemConfiguration parentFactory,
String pageName,
String pageTitle,
String pageDescription)
- Constructor that takes everything
AbstractSystemNewConnectionWizardPage
public AbstractSystemNewConnectionWizardPage(
IWizard wizard,
ISubSystemConfiguration parentFactory,
String pageDescription)
- Constructor that defaults:
- the page name to the parent factory's id
- the page title to the parent factory's name
AbstractSystemNewConnectionWizardPage
public AbstractSystemNewConnectionWizardPage(
IWizard wizard,
ISubSystemConfiguration parentFactory)
- Constructor that defaults:
- the page name to the parent factory's id
- the page title to the parent factory's name
- the page description to RESID_NEWCONN_SUBSYSTEMPAGE_DESCRIPTION
getSubSystemConfiguration
public
ISubSystemConfiguration getSubSystemConfiguration()
- Return the subsystem factory that supplied this page
-
-
Specified by:
-
getSubSystemConfiguration
in interface
ISubSystemConfigurator
-
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()
createContents
public abstract
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(Composite)
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 interface org.eclipse.rse.ui.wizards.newconnection.ISystemNewConnectionWizardPage
-
Specified by:
-
performFinish
in class
AbstractSystemWizardPage
-
-
Returns:
- true if all is ok and the finish can proceed.
-
See Also:
-
ISystemWizardPage.performFinish()
getNewConnectionWizard
public org.eclipse.rse.ui.wizards.newconnection.RSEAbstractNewConnectionWizard getNewConnectionWizard()
- Get the parent wizard typed as the RSEAbstractNewConnectionWizard
-
-
getMainPage
public org.eclipse.rse.ui.wizards.newconnection.RSEDefaultNewConnectionWizardMainPage getMainPage()
- Get the main page of RSEDefaultNewConnectionWizard, which contains all user enter connection attributes
-
-
getMainPageForm
public
SystemConnectionForm getMainPageForm()
- Get the SystemConnectionForm of the main page of SystemNewConnectionWizard, which contains all user enter
connection attributes
-
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.
|
|