RSE
Release 2.0

org.eclipse.rse.ui.wizards
Class SystemSubSystemsPropertiesWizardPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.eclipse.rse.ui.wizards.AbstractSystemWizardPage
              extended by org.eclipse.rse.ui.wizards.AbstractSystemNewConnectionWizardPage
                  extended by org.eclipse.rse.ui.wizards.SystemSubSystemsPropertiesWizardPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage, ISystemNewConnectionWizardPage, ISubSystemPropertiesWizardPage, ISystemVerifyListener, ISystemMessageLine, ISystemWizardPage

public class SystemSubSystemsPropertiesWizardPage
extends AbstractSystemNewConnectionWizardPage
implements ISystemVerifyListener, ISubSystemPropertiesWizardPage

Wizard page that display the property pages for a given subsystem in the connection


Field Summary
 
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
SystemSubSystemsPropertiesWizardPage(IWizard wizard, ISubSystemConfiguration parentFactory, List propertyPages)
          Constructor
 
Method Summary
protected  void addVerifyListener()
           
 boolean applyValues(ISubSystem ss)
           
 Control createContents(Composite parent)
          Abstract method.
protected  Control getInitialFocusControl()
          Abstract method.
 void handleVerifyComplete()
          The callback method.
protected  void hostNameUpdated(String hostName)
           
 boolean isPageComplete()
          Return true if the page is complete, so to enable Finish.
 boolean performFinish()
          Abstract method.
 
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, dispose, getHelpContextId, getInputObject, getMessageLine, getSystemErrorMessage, setErrorMessage, setErrorMessage, setErrorMessage, setFocus, 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, 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
 

Constructor Detail

SystemSubSystemsPropertiesWizardPage

public SystemSubSystemsPropertiesWizardPage(IWizard wizard,
                                            ISubSystemConfiguration parentFactory,
                                            List propertyPages)
Constructor

Method Detail

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.

Overrides:
getInitialFocusControl in class AbstractSystemNewConnectionWizardPage
See Also:
AbstractSystemWizardPage.getInitialFocusControl()

hostNameUpdated

protected void hostNameUpdated(String hostName)

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 AbstractSystemNewConnectionWizardPage
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 ISystemNewConnectionWizardPage
Specified by:
performFinish in interface ISystemWizardPage
Overrides:
performFinish in class AbstractSystemNewConnectionWizardPage
See Also:
ISystemWizardPage.performFinish()

applyValues

public boolean applyValues(ISubSystem ss)
Specified by:
applyValues in interface ISubSystemPropertiesWizardPage

isPageComplete

public boolean isPageComplete()
Return true if the page is complete, so to enable Finish. Called by wizard framework.

Specified by:
isPageComplete in interface IWizardPage
Specified by:
isPageComplete in interface ISystemNewConnectionWizardPage
Overrides:
isPageComplete in class WizardPage

addVerifyListener

protected void addVerifyListener()

handleVerifyComplete

public void handleVerifyComplete()
Description copied from interface: ISystemVerifyListener
The callback method. This is called whenever verify is called by the form code.

Specified by:
handleVerifyComplete in interface ISystemVerifyListener

RSE
Release 2.0

Copyright (c) IBM Corporation and others 2000, 2007. All Rights Reserved.