RSE
Release 3.0

org.eclipse.rse.subsystems.terminals.core.elements
Class TerminalElement

java.lang.Object
  extended by org.eclipse.rse.core.subsystems.AbstractResource
      extended by org.eclipse.rse.subsystems.terminals.core.elements.TerminalElement
All Implemented Interfaces:
IAdaptable

public class TerminalElement
extends AbstractResource

An element in the RSE Tree that resembles a Terminal connection.


Constructor Summary
TerminalElement(String name, ITerminalServiceSubSystem terminalServiceSubSystem)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          Return the name of this element, which will also be used as the label in the tree.
 ITerminalShell getTerminalShell()
          Return the back-end connection of this terminal instance.
 int hashCode()
           
 void setTerminalShell(ITerminalShell terminalShell)
          Set the back-end connection of this terminal instance.
 String toString()
           
 
Methods inherited from class org.eclipse.rse.core.subsystems.AbstractResource
getAdapter, getSubSystem, setSubSystem
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TerminalElement

public TerminalElement(String name,
                       ITerminalServiceSubSystem terminalServiceSubSystem)
Constructor.

Method Detail

getName

public final String getName()
Return the name of this element, which will also be used as the label in the tree.


toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTerminalShell

public ITerminalShell getTerminalShell()
Return the back-end connection of this terminal instance.

Since:
1.0

setTerminalShell

public void setTerminalShell(ITerminalShell terminalShell)
Set the back-end connection of this terminal instance.

Since:
1.0

RSE
Release 3.0

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