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, ISubSystemConfigurator, ISystemMessageLine, ISystemWizardPage, org.eclipse.rse.ui.wizards.newconnection.ISystemNewConnectionWizardPage
public class SubSystemServiceWizardPage
- extends AbstractSystemNewConnectionWizardPage
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, 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.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 ISubSystemConfiguration[] getServiceSubSystemConfigurations(IRSESystemType systemType,
Class serviceType)
- Parameters:
systemType
- serviceType
-
- Returns:
- Since:
- 3.0 returning ISubSystemConfiguration instead of
IServiceSubSystemConfiguration
isPageComplete
public boolean isPageComplete()
- Description copied from interface:
org.eclipse.rse.ui.wizards.newconnection.ISystemNewConnectionWizardPage
- This is called frequently by the framework to decide whether to enable the Finish and Next buttons.
- Specified by:
isPageComplete
in interface IWizardPage
- Specified by:
isPageComplete
in interface org.eclipse.rse.ui.wizards.newconnection.ISystemNewConnectionWizardPage
- Overrides:
isPageComplete
in class WizardPage
- Returns:
- true if the page is complete and has no errors.
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
- Overrides:
performFinish
in class AbstractSystemNewConnectionWizardPage
- Returns:
- true if all is ok and the finish can proceed.
- See Also:
ISystemWizardPage.performFinish()
getPropertiesServiceElement
protected ServerLauncherPropertiesServiceElement[] getPropertiesServiceElement()
applyValues
public boolean applyValues(ISubSystem ss)
- Description copied from interface:
ISubSystemConfigurator
- Apply the values herein to a subsystem.
- Parameters:
ss
- the subystem to be affected.
- Returns:
- true if the values were applied.
getCustomConnectorService
protected IConnectorService getCustomConnectorService(ISubSystemConfiguration config)
- Since:
- 3.0 taking ISubSystemConfiguration instead of
IServiceSubSystemConfiguration
handleVerifyComplete
public void handleVerifyComplete()
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.