org.eclipse.rse.ui.widgets
Class RemoteBaseServerLauncherForm
java.lang.Object
org.eclipse.rse.ui.SystemBaseForm
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
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 |
_hostName
protected String _hostName
_msgLine
protected ISystemMessageLine _msgLine
RemoteBaseServerLauncherForm
public RemoteBaseServerLauncherForm(Shell shell,
ISystemMessageLine msgLine)
- Constructor for EnvironmentVariablesForm.
- Parameters:
msgLine
-
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
Copyright (c) IBM Corporation and others 2000, 2010. All Rights Reserved.