Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.ui.wizards
Class SubSystemServiceWizardPage

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.SubSystemServiceWizardPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage, ISubSystemConfigurator, ISystemMessageLine, ISystemWizardPage, org.eclipse.rse.ui.wizards.newconnection.ISystemNewConnectionWizardPage

public class SubSystemServiceWizardPage
extends AbstractSystemNewConnectionWizardPage


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)
          Apply the values herein to a subsystem.
  Control createContents ( Composite parent)
          Abstract method.
protected   IConnectorService getCustomConnectorService ( ISubSystemConfiguration config)
           
protected   ServerLauncherPropertiesServiceElement[] getPropertiesServiceElement ()
           
protected   ServiceElement[] getServiceElements ()
           
protected   ISubSystemConfiguration[] getServiceSubSystemConfigurations ( IRSESystemType 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 ()
          Abstract method.
 
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, 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 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()

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()

RSE
Release 3.0

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

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire