org.eclipse.rse.ui.widgets
Class RemoteServerLauncherForm
java.lang.Object
org.eclipse.rse.ui.SystemBaseForm
org.eclipse.rse.ui.widgets.RemoteBaseServerLauncherForm
org.eclipse.rse.ui.widgets.RemoteServerLauncherForm
-
All Implemented Interfaces:
-
ISystemConnectionWizardErrorUpdater,
IServerLauncherForm,
Listener
-
public class RemoteServerLauncherForm
- extends
RemoteBaseServerLauncherForm
Comment goes here
Methods inherited from class org.eclipse.rse.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
|
RemoteServerLauncherForm
public RemoteServerLauncherForm(
Shell shell,
ISystemMessageLine msgLine)
- Constructor for EnvironmentVariablesForm.
-
Parameters:
-
msgLine
-
isDirty
public boolean isDirty()
-
Description copied from interface:
IServerLauncherForm
- Returns whether anything has changed in the server launcher form.
-
-
Returns:
-
true
if the server launcher form has changed, false
otherwise.
disable
public void disable()
-
-
Specified by:
-
disable
in class
RemoteBaseServerLauncherForm
-
createLauncherControls
protected void createLauncherControls(
Group group)
-
-
Specified by:
-
createLauncherControls
in class
RemoteBaseServerLauncherForm
-
initDefaults
protected void initDefaults()
-
-
Specified by:
-
initDefaults
in class
RemoteBaseServerLauncherForm
-
initValues
public void initValues(
IServerLauncherProperties 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
RemoteBaseServerLauncherForm
-
-
Returns:
- true if all went well, false if error found.
updateValues
public boolean updateValues(
IServerLauncherProperties 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
RemoteBaseServerLauncherForm
-
-
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.
-
-
Specified by:
-
handleEvent
in interface
Listener
-
Overrides:
-
handleEvent
in class
SystemBaseForm
-
getLaunchType
protected
ServerLaunchType getLaunchType()
-
-
Specified by:
-
getLaunchType
in class
RemoteBaseServerLauncherForm
-
getUseSSL
protected boolean getUseSSL()
-
getAutoDetect
protected boolean getAutoDetect()
-
setUseSSL
protected void setUseSSL(boolean use)
-
setAutoDetect
protected void setAutoDetect(boolean use)
-
setLaunchType
protected void setLaunchType(
ServerLaunchType type)
-
-
Specified by:
-
setLaunchType
in class
RemoteBaseServerLauncherForm
-
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
RemoteBaseServerLauncherForm
-
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
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.