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 RemoteBaseServerLauncherForm


java.lang.Object
  extended by 

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

public abstract class RemoteBaseServerLauncherForm
extends SystemBaseForm
implements IServerLauncherForm, ISystemConnectionWizardErrorUpdater

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


Field Summary
protected   String _hostName
           
protected   ISystemMessageLine _msgLine
           
 
Fields inherited from class org.eclipse.rse.ui. SystemBaseForm
alreadyNotified, verifyListeners
 
Constructor Summary
RemoteBaseServerLauncherForm ( Shell shell, ISystemMessageLine msgLine)
          Constructor for EnvironmentVariablesForm.
 
Method Summary
  Control createContents ( Composite parent)
          CreateContents is the one method that must be overridden from the parent class.
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 ( IServerLauncherProperties launcher)
          Update the actual values in the server launcher, from the widgets.
abstract  boolean verify ()
          Verify page contents on OK.
 
Methods inherited from class org.eclipse.rse.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 org.eclipse.rse.ui.widgets. IServerLauncherForm
initValues, isDirty
 
Methods inherited from interface org.eclipse.rse.ui.propertypages. ISystemConnectionWizardErrorUpdater
addVerifyListener, getTheErrorMessage, isPageComplete
 

Field Detail

_hostName

protected 
String _hostName

_msgLine

protected 
ISystemMessageLine _msgLine
Constructor Detail

RemoteBaseServerLauncherForm

public RemoteBaseServerLauncherForm(
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 class: SystemBaseForm
CreateContents is the one method that must be overridden from the parent class. In this method, we populate an SWT container with widgets and return the container to the caller (JFace). This is used as the contents of this page.

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

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