|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.rse.internal.services.terminals.BaseShellDecorator
org.eclipse.rse.internal.services.terminals.TerminalShellDecorator
public abstract class TerminalShellDecorator
Abstract base class for clients to decorate an ITerminalShell instance they have with additional functionality. Typically, such additional functionality can be provided either by additional knowledge about the underlying system or process, or by analyzing the input and output streams for some well-known data that gives such additional knowledge.
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the Target Management team.
Field Summary |
---|
Fields inherited from class org.eclipse.rse.internal.services.terminals.BaseShellDecorator |
---|
fDelegate |
Constructor Summary | |
---|---|
TerminalShellDecorator(ITerminalShell delegate)
|
Method Summary | |
---|---|
String |
getDefaultEncoding()
Return the default encoding that the terminal service had specified when creating this terminal connection, or that's known from the remote side to be expected. |
protected ITerminalShell |
getDelegate()
|
String |
getPtyType()
Get the Terminal Type that's expected on this connection. |
boolean |
isLocalEcho()
Test if local echo is needed on this terminal connection. |
void |
setTerminalSize(int newWidth,
int newHeight)
Notify the remote site that the size of the terminal has changed. |
Methods inherited from class org.eclipse.rse.internal.services.terminals.BaseShellDecorator |
---|
exit, exitValue, getAdapter, getErrorStream, getInputStream, getOutputStream, isActive, waitFor |
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.internal.services.terminals.IBaseShell |
---|
exit, exitValue, getErrorStream, getInputStream, getOutputStream, isActive, waitFor |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Constructor Detail |
---|
public TerminalShellDecorator(ITerminalShell delegate)
Method Detail |
---|
protected ITerminalShell getDelegate()
public String getPtyType()
ITerminalShell
getPtyType
in interface ITerminalShell
null
if the ITerminalShell does not know what kind of Terminal Type is
expected.public String getDefaultEncoding()
ITerminalShell
null
.
TODO I'm not actually sure if this method is a good idea. Perhaps we
should use the IAdaptable mechanism for dealing with encodings, since our
shells basically deal with binary data only.
getDefaultEncoding
in interface ITerminalShell
null
if
unknown.public boolean isLocalEcho()
ITerminalShell
false
if in doubt.
isLocalEcho
in interface ITerminalShell
true
if a local echo is needed.public void setTerminalSize(int newWidth, int newHeight)
ITerminalShell
setTerminalSize
in interface ITerminalShell
|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |