RSE
Release 3.2

org.eclipse.rse.ui.widgets
Class EnvironmentVariablesForm

java.lang.Object
  extended by org.eclipse.rse.ui.SystemBaseForm
      extended by org.eclipse.rse.ui.widgets.EnvironmentVariablesForm
All Implemented Interfaces:
EventListener, ISystemConnectionWizardErrorUpdater, MouseListener, SelectionListener, org.eclipse.swt.internal.SWTEventListener, Listener

public class EnvironmentVariablesForm
extends SystemBaseForm
implements SelectionListener, MouseListener

Preference page which allows the user to manage persisted environment variables for an RSE connection.


Nested Class Summary
 class EnvironmentVariablesForm.EnvironmentVariable
           
protected  class EnvironmentVariablesForm.EnvironmentVariablesTableContentProvider
           
 
Field Summary
 
Fields inherited from class org.eclipse.rse.ui.SystemBaseForm
alreadyNotified, verifyListeners
 
Constructor Summary
EnvironmentVariablesForm(Shell shell, ISystemMessageLine msgLine, Object selectedObject, String invalidNameChars)
          Constructor for EnvironmentVariablesForm.
 
Method Summary
 Control createContents(Composite parent)
          CreateContents is the one method that must be overridden from the parent class.
 Collection getEnvVars()
          Get the environment variables currently in the table.
 void mouseDoubleClick(MouseEvent e)
           
 void mouseDown(MouseEvent e)
           
 void mouseUp(MouseEvent e)
           
 void setEnvVars(Vector envVars)
          Set the input for the environment variables table
 void widgetDefaultSelected(SelectionEvent e)
           
 void widgetSelected(SelectionEvent e)
           
 
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
 

Constructor Detail

EnvironmentVariablesForm

public EnvironmentVariablesForm(Shell shell,
                                ISystemMessageLine msgLine,
                                Object selectedObject,
                                String invalidNameChars)
Constructor for EnvironmentVariablesForm.

Parameters:
msgLine -
Method Detail

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 class SystemBaseForm
Parameters:
parent - The parent composite
See Also:
SystemBaseForm.createContents(Composite)

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)
Specified by:
widgetDefaultSelected in interface SelectionListener
See Also:
SelectionListener.widgetDefaultSelected(SelectionEvent)

widgetSelected

public void widgetSelected(SelectionEvent e)
Specified by:
widgetSelected in interface SelectionListener
See Also:
SelectionListener.widgetSelected(SelectionEvent)

getEnvVars

public Collection getEnvVars()
Get the environment variables currently in the table.


setEnvVars

public void setEnvVars(Vector envVars)
Set the input for the environment variables table


mouseDoubleClick

public void mouseDoubleClick(MouseEvent e)
Specified by:
mouseDoubleClick in interface MouseListener
See Also:
MouseListener.mouseDoubleClick(MouseEvent)

mouseDown

public void mouseDown(MouseEvent e)
Specified by:
mouseDown in interface MouseListener
See Also:
MouseListener.mouseDown(MouseEvent)

mouseUp

public void mouseUp(MouseEvent e)
Specified by:
mouseUp in interface MouseListener
See Also:
MouseListener.mouseUp(MouseEvent)

RSE
Release 3.2

Copyright (c) IBM Corporation and others 2000, 2010. All Rights Reserved.