|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.subsystems.shells.core.model.RemoteOutput
public class RemoteOutput
The RemoteOuputImpl class is an implementation of IRemoteOutput. It is used for storing information about a particular line of output
Field Summary | |
---|---|
protected int |
_endOffset
|
protected int |
_line
|
protected String |
_path
|
protected int |
_startOffset
|
protected String |
_text
|
protected String |
_type
|
Constructor Summary | |
---|---|
RemoteOutput(Object parent,
String type)
Constructor |
Method Summary | |
---|---|
String |
getAbsolutePath()
Gets the absolute path of an associated file if applicable |
Object |
getAdapter(Class adapterType)
Gets the associated adapter for this output |
int |
getCharEnd()
Gets the associated char end offset for the line |
int |
getCharStart()
Gets the associated char start offset for the line |
Object[] |
getChildren()
Returns children of the output, if applicable |
int |
getIndex()
Gets the index of this object within a command object |
String |
getLabel()
Gets the displayable label for this output |
int |
getLine()
Gets the associated line within a file if applicable |
Object |
getParent()
Gets the containing object for this output |
String |
getText()
Gets the displayable text for this output |
String |
getType()
Gets the type of this output |
boolean |
hasChildren()
Indicates whether this output has children |
void |
setAbsolutePath(String path)
Sets the absolute path for an associated file if applicable |
void |
setCharEnd(int offset)
set the end offset for the line |
void |
setCharStart(int offset)
set the start offset for the line |
void |
setLine(int line)
Sets the associated line number for a particular source if applicable |
void |
setText(String text)
Sets the displayable text for the remote output |
void |
setType(String type)
Sets the type of remote output |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String _type
protected String _text
protected String _path
protected int _line
protected int _startOffset
protected int _endOffset
Constructor Detail |
---|
public RemoteOutput(Object parent, String type)
parent
- container of the outputMethod Detail |
---|
public void setType(String type)
type
- public void setText(String text)
text
- public void setAbsolutePath(String path)
path
- public void setLine(int line)
line
- public String getType()
getType
in interface IRemoteOutput
public String getText()
getText
in interface IRemoteOutput
public int getIndex()
getIndex
in interface IRemoteOutput
public String getAbsolutePath()
getAbsolutePath
in interface IRemoteLineReference
public int getLine()
getLine
in interface IRemoteLineReference
public Object getParent()
getParent
in interface IRemoteLineReference
public Object getAdapter(Class adapterType)
getAdapter
in interface IAdaptable
public Object[] getChildren()
public boolean hasChildren()
public String getLabel()
public void setCharStart(int offset)
offset
- public void setCharEnd(int offset)
offset
- public int getCharStart()
getCharStart
in interface IRemoteLineReference
public int getCharEnd()
getCharEnd
in interface IRemoteLineReference
public String toString()
toString
in class Object
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |