RSE
Release 1.0

org.eclipse.rse.ui.wizards
Class SubSystemServiceWizardPage

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

public class SubSystemServiceWizardPage
extends AbstractSystemNewConnectionWizardPage
implements ISubSystemPropertiesWizardPage


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
SubSystemServiceWizardPage(IWizard wizard, ISubSystemConfiguration parentFactory)
           
SubSystemServiceWizardPage(IWizard wizard, ISubSystemConfiguration parentFactory, String pageDescription)
           
SubSystemServiceWizardPage(IWizard wizard, ISubSystemConfiguration parentFactory, String pageName, String pageTitle, String pageDescription)
           
 
Method Summary
 boolean applyValues(ISubSystem ss)
           
 Control createContents(Composite parent)
          Abstract method.
protected  IConnectorService getCustomConnectorService(IServiceSubSystemConfiguration config)
           
protected  ServerLauncherPropertiesServiceElement[] getPropertiesServiceElement()
           
protected  ServiceElement[] getServiceElements()
           
protected  IServiceSubSystemConfiguration[] getServiceSubSystemFactories(String systemType, Class serviceType)
           
 void handleVerifyComplete()
           
 boolean isPageComplete()
          This is called frequently by the framework to decide whether to enable the Finish and Next buttons.
 boolean performFinish()
          This is called when the users presses Finish.
 
Methods inherited from class org.eclipse.rse.ui.wizards.AbstractSystemNewConnectionWizardPage
getInitialFocusControl, 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
 

Constructor Detail

SubSystemServiceWizardPage

public SubSystemServiceWizardPage(IWizard wizard,
                                  ISubSystemConfiguration parentFactory,
                                  String pageName,
                                  String pageTitle,
                                  String pageDescription)

SubSystemServiceWizardPage

public SubSystemServiceWizardPage(IWizard wizard,
                                  ISubSystemConfiguration parentFactory,
                                  String pageDescription)

SubSystemServiceWizardPage

public SubSystemServiceWizardPage(IWizard wizard,
                                  ISubSystemConfiguration parentFactory)
Method Detail

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)

getServiceElements

protected ServiceElement[] getServiceElements()

getServiceSubSystemFactories

protected IServiceSubSystemConfiguration[] getServiceSubSystemFactories(String systemType,
                                                                        Class serviceType)

isPageComplete

public boolean isPageComplete()
Description copied from interface: ISystemNewConnectionWizardPage
This is called frequently by the framework to decide whether to enable the Finish and Next buttons.

Return true if the page is complete and has no errors

Specified by:
isPageComplete in interface ISystemNewConnectionWizardPage

performFinish

public boolean performFinish()
Description copied from interface: ISystemNewConnectionWizardPage
This is called when the users presses Finish. All that should be done here is validation of the input, returning true if all is ok and the finish can proceed.

Specified by:
performFinish in interface ISystemNewConnectionWizardPage
Overrides:
performFinish in class AbstractSystemNewConnectionWizardPage
See Also:
ISystemWizardPage.performFinish()

getPropertiesServiceElement

protected ServerLauncherPropertiesServiceElement[] getPropertiesServiceElement()

applyValues

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

getCustomConnectorService

protected IConnectorService getCustomConnectorService(IServiceSubSystemConfiguration config)

handleVerifyComplete

public void handleVerifyComplete()

RSE
Release 1.0

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