org.eclipse.rse.ui.wizards
Class SubSystemServiceWizardPage
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
org.eclipse.rse.ui.wizards.SubSystemServiceWizardPage
- All Implemented Interfaces:
- IDialogPage, IMessageProvider, IWizardPage, ISystemNewConnectionWizardPage, ISubSystemPropertiesWizardPage, ISystemMessageLine, ISystemWizardPage
public class SubSystemServiceWizardPage
- extends AbstractSystemNewConnectionWizardPage
- implements ISubSystemPropertiesWizardPage
| 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 interface org.eclipse.jface.dialogs.IDialogPage |
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
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)
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()
getServiceSubSystemConfigurations
protected IServiceSubSystemConfiguration[] getServiceSubSystemConfigurations(IRSESystemType 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 IWizardPage- Specified by:
isPageComplete in interface ISystemNewConnectionWizardPage- Overrides:
isPageComplete in class WizardPage
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()
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()
Copyright (c) IBM Corporation and others 2000, 2007. All Rights Reserved.