Remote Systems
v6.4.1

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

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

public class IBMServerLauncherForm
extends IBMBaseServerLauncherForm

Comment goes here


Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.systems.core.ui.widgets.IBMBaseServerLauncherForm
_hostName, _msgLine
 
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
IBMServerLauncherForm(Shell shell, ISystemMessageLine msgLine)
          Constructor for EnvironmentVariablesForm.
 
Method Summary
protected  void createLauncherControls(Group group)
           
 void disable()
           
 String getDaemonPort()
          Get the daemon port widget value
 int getDaemonPortAsInt()
          Get the Daemon port widget value
protected  ServerLaunchType getLaunchType()
           
 String getREXECPort()
          Get the REXEC port widget value
 int getREXECPortAsInt()
          Get the REXEC port widget value
 String getServerInstallPath()
          Return the current value of the REXEC server install path widget
 String getServerInvocation()
          Return the current value of the REXEC server invocation widget
 void handleEvent(Event evt)
          Default implementation to satisfy Listener interface.
protected  void initDefaults()
           
 void initValues(ServerLauncher launcher)
          Set the initial values for the widgets, based on the server launcher
 void setDaemonLaunchEnabled(boolean enable)
          Sets whether to enable daemon launch.
 void setDaemonPort(int port)
          Set the daemon port widget value
 void setDaemonPort(String port)
          Set the daemon port widget value
 void setHostname(String hostname)
           
protected  void setLaunchType(ServerLaunchType type)
           
 void setNoLaunchEnabled(boolean enable)
          Sets whether to enable no launch.
 void setRexecLaunchEnabled(boolean enable)
          Sets whether to enable rexec launch.
 void setREXECPort(int port)
          Set the REXEC port's widget value, given an int port value
 void setREXECPort(String port)
          Set the REXEC port's widget value, as a String
 void setServerInstallPath(String path)
          Set the REXEC server install path widget's value
 void setServerInvocation(String invocation)
          Set the REXEC server invocation widget's value
 boolean updateValues(ServerLauncher launcher)
          Update the actual values in the server launcher, from the widgets.
 boolean verify()
          Verify page contents on OK.
 
Methods inherited from class com.ibm.etools.systems.core.ui.widgets.IBMBaseServerLauncherForm
createContents, createGroupControl
 
Methods inherited from class com.ibm.etools.systems.core.ui.SystemBaseForm
addFillerLine, addGrowableFillerLine, addPageCompleteListener, addSeparatorLine, addVerifyListener, getInputObject, getMessageLine, getOutputObject, getShell, getTheErrorMessage, 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.propertypages.ISystemConnectionWizardErrorUpdator
addVerifyListener, getTheErrorMessage, isPageComplete
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

IBMServerLauncherForm

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

Parameters:
msgLine -
Method Detail

disable

public void disable()
Specified by:
disable in class IBMBaseServerLauncherForm

createLauncherControls

protected void createLauncherControls(Group group)
Specified by:
createLauncherControls in class IBMBaseServerLauncherForm

initDefaults

protected void initDefaults()
Specified by:
initDefaults in class IBMBaseServerLauncherForm

initValues

public void initValues(ServerLauncher launcher)
Set the initial values for the widgets, based on the server launcher


verify

public boolean verify()
Verify page contents on OK.

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

updateValues

public 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
Specified by:
updateValues in class IBMBaseServerLauncherForm
Returns:
true if all went well, false if something failed for some reason.

handleEvent

public void handleEvent(Event evt)
Description copied from class: SystemBaseForm
Default implementation to satisfy Listener interface. Does nothing.

Overrides:
handleEvent in class SystemBaseForm

getLaunchType

protected ServerLaunchType getLaunchType()
Specified by:
getLaunchType in class IBMBaseServerLauncherForm

setLaunchType

protected void setLaunchType(ServerLaunchType type)
Specified by:
setLaunchType in class IBMBaseServerLauncherForm

setDaemonLaunchEnabled

public void setDaemonLaunchEnabled(boolean enable)
Sets whether to enable daemon launch.

Parameters:
enable - true if daemon launch should be enabled, false otherwise.

setRexecLaunchEnabled

public void setRexecLaunchEnabled(boolean enable)
Sets whether to enable rexec launch.

Parameters:
enable - true if rexec launch should be enabled, false otherwise.

setHostname

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

setDaemonPort

public void setDaemonPort(String port)
Set the daemon port widget value

Parameters:
port - - the port value as a string

setDaemonPort

public void setDaemonPort(int port)
Set the daemon port widget value

Parameters:
port - - the port value as an int

getDaemonPortAsInt

public int getDaemonPortAsInt()
Get the Daemon port widget value

Returns:
the widget's current value as an int

getDaemonPort

public String getDaemonPort()
Get the daemon port widget value

Returns:
the widget's current value as a string

setREXECPort

public void setREXECPort(String port)
Set the REXEC port's widget value, as a String

Parameters:
port - - the value to apply to the widget

setREXECPort

public void setREXECPort(int port)
Set the REXEC port's widget value, given an int port value

Parameters:
port - - the value to apply to the widget.

getREXECPortAsInt

public int getREXECPortAsInt()
Get the REXEC port widget value

Returns:
the widget's current value as an int

getREXECPort

public String getREXECPort()
Get the REXEC port widget value

Returns:
the widget's current value as a string

setNoLaunchEnabled

public void setNoLaunchEnabled(boolean enable)
Sets whether to enable no launch.

Parameters:
enable - true if no launch should be enabled, false otherwise.

getServerInstallPath

public String getServerInstallPath()
Return the current value of the REXEC server install path widget

Returns:
widget value as a string

setServerInstallPath

public void setServerInstallPath(String path)
Set the REXEC server install path widget's value

Parameters:
path - - the text to set the widget's value to

getServerInvocation

public String getServerInvocation()
Return the current value of the REXEC server invocation widget

Returns:
widget value as a string

setServerInvocation

public void setServerInvocation(String invocation)
Set the REXEC server invocation widget's value

Parameters:
invocation - - the text to set the widget's value to

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.