Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.widgets
Class IBMBaseServerLauncherForm

java.lang.Object
  extended bycom.ibm.etools.systems.core.ui.SystemBaseForm
      extended bycom.ibm.etools.systems.core.ui.widgets.IBMBaseServerLauncherForm
All Implemented Interfaces:
IBMServerLauncherConstants, IServerLauncherForm, ISystemConnectionWizardErrorUpdator
Direct Known Subclasses:
IBMServerLauncherForm

public abstract class IBMBaseServerLauncherForm
extends SystemBaseForm
implements IServerLauncherForm, IBMServerLauncherConstants, ISystemConnectionWizardErrorUpdator

Base IBM server launcher form. Extend this to provide a specialized server launcher form


Field Summary
protected  String _hostName
           
protected  ISystemMessageLine _msgLine
           
static String copyright
           
 
Fields inherited from class com.ibm.etools.systems.core.ui.SystemBaseForm
alreadyNotified, verifyListeners
 
Fields inherited from interface com.ibm.etools.systems.subsystems.impl.IBMServerLauncherConstants
DEFAULT_DAEMON_PORT, DEFAULT_REXEC_PATH, DEFAULT_REXEC_PORT, DEFAULT_REXEC_SCRIPT, LINUX_REXEC_SCRIPT, UNIX_REXEC_SCRIPT
 
Constructor Summary
IBMBaseServerLauncherForm(Shell shell, ISystemMessageLine msgLine)
          Constructor for EnvironmentVariablesForm.
 
Method Summary
 Control createContents(Composite parent)
          Create the contents of the form
protected  Group createGroupControl(Composite parent)
           
protected abstract  void createLauncherControls(Group group)
           
abstract  void disable()
           
protected abstract  ServerLaunchType getLaunchType()
           
protected abstract  void initDefaults()
           
 void setHostname(String hostname)
           
protected abstract  void setLaunchType(ServerLaunchType type)
           
abstract  boolean updateValues(ServerLauncher launcher)
          Update the actual values in the server launcher, from the widgets.
abstract  boolean verify()
          Verify page contents on OK.
 
Methods inherited from class com.ibm.etools.systems.core.ui.SystemBaseForm
addFillerLine, addGrowableFillerLine, addPageCompleteListener, addSeparatorLine, addVerifyListener, getInputObject, getMessageLine, getOutputObject, getShell, getTheErrorMessage, handleEvent, isPageComplete, notifyVerifyListeners, removePageCompleteListener, removePageCompleteListener, setInputObject, setMessageLine, setOutputObject, setPageComplete, setShell, showErrorMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.etools.systems.core.ui.widgets.IServerLauncherForm
initValues
 
Methods inherited from interface com.ibm.etools.systems.core.ui.propertypages.ISystemConnectionWizardErrorUpdator
addVerifyListener, getTheErrorMessage, isPageComplete
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

_hostName

protected String _hostName

_msgLine

protected ISystemMessageLine _msgLine
Constructor Detail

IBMBaseServerLauncherForm

public IBMBaseServerLauncherForm(Shell shell,
                                 ISystemMessageLine msgLine)
Constructor for EnvironmentVariablesForm.

Parameters:
msgLine -
Method Detail

disable

public abstract void disable()

createContents

public Control createContents(Composite parent)
Description copied from interface: IServerLauncherForm
Create the contents of the form

Specified by:
createContents in interface IServerLauncherForm
Specified by:
createContents in class SystemBaseForm
Parameters:
parent - The parent composite
See Also:
SystemBaseForm.createContents(Composite)

createGroupControl

protected Group createGroupControl(Composite parent)

createLauncherControls

protected abstract void createLauncherControls(Group group)

getLaunchType

protected abstract ServerLaunchType getLaunchType()

setLaunchType

protected abstract void setLaunchType(ServerLaunchType type)

initDefaults

protected abstract void initDefaults()

verify

public abstract boolean verify()
Verify page contents on OK.

Specified by:
verify in interface IServerLauncherForm
Returns:
true if all went well, false if error found.

updateValues

public abstract boolean updateValues(ServerLauncher launcher)
Update the actual values in the server launcher, from the widgets. Called on successful press of OK.

Specified by:
updateValues in interface IServerLauncherForm
Returns:
true if all went well, false if something failed for some reason.

setHostname

public void setHostname(String hostname)
Specified by:
setHostname in interface IServerLauncherForm

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.