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
Answertopia.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.widgets
Class RemoteServerLauncherForm


java.lang.Object
  extended by 

org.eclipse.rse.ui.SystemBaseForm
      extended by 

org.eclipse.rse.ui.widgets.RemoteBaseServerLauncherForm
          extended by 
org.eclipse.rse.ui.widgets.RemoteServerLauncherForm
All Implemented Interfaces:
ISystemConnectionWizardErrorUpdater, IServerLauncherForm, Listener

public class RemoteServerLauncherForm
extends RemoteBaseServerLauncherForm

Comment goes here


Field Summary
 
Fields inherited from class org.eclipse.rse.ui.widgets. RemoteBaseServerLauncherForm
_hostName, _msgLine
 
Fields inherited from class org.eclipse.rse.ui. SystemBaseForm
alreadyNotified, verifyListeners
 
Constructor Summary
RemoteServerLauncherForm ( Shell shell, ISystemMessageLine msgLine)
          Constructor for EnvironmentVariablesForm.
 
Method Summary
protected  void createLauncherControls ( Group group)
           
 void disable ()
           
protected  boolean getAutoDetect ()
           
  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
protected  boolean getUseSSL ()
           
 void handleEvent ( Event evt)
          Default implementation to satisfy Listener interface.
protected  void initDefaults ()
           
 void initValues ( IServerLauncherProperties launcher)
          Set the initial values for the widgets, based on the server launcher
 boolean isDirty ()
          Returns whether anything has changed in the server launcher form.
protected  void setAutoDetect (boolean use)
           
 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
protected  void setUseSSL (boolean use)
           
 boolean updateValues ( IServerLauncherProperties launcher)
          Update the actual values in the server launcher, from the widgets.
 boolean verify ()
          Verify page contents on OK.
 
Methods inherited from class org.eclipse.rse.ui.widgets. RemoteBaseServerLauncherForm
createContents, createGroupControl
 
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
 
Methods inherited from interface org.eclipse.rse.ui.propertypages. ISystemConnectionWizardErrorUpdater
addVerifyListener, getTheErrorMessage, isPageComplete
 

Constructor Detail

RemoteServerLauncherForm

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

Parameters:
msgLine -
Method Detail

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

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