|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
This interface represents a handle to a remote command, which is either a transient command or a command shell.
| Method Summary | |
|---|---|
void |
addOutput(Object output)
Add an output object to the list of output for this command |
void |
associateProject(IProject project)
|
IProject |
getAssociatedProject()
|
ICandidateCommand[] |
getCandidateCommands()
Return the list of possible commands for this command shell |
IRemoteCmdSubSystem |
getCommandSubSystem()
Return the command subsystem associated with this command |
Object |
getContext()
Get the current context for this command shell. |
IRemoteFileSubSystem |
getFileSubSystem()
Return the file subsystem associated with this command |
String[] |
getHistory()
Return the list of commands passed into this command |
String |
getId()
Gets the ID of the command shell |
int |
getIndexOf(Object output)
Get the position of this output object in the command container |
String |
getName()
Gets the name of the command shell or command that is being run. |
Object |
getOutputAt(int index)
Get the output object the specified index |
int |
getSize()
Return the number of output objects for this command. |
String |
getType()
Gets the type of the command shell or command that is being run. |
boolean |
isActive()
Indicate whether the corresponding command is running or not |
Object[] |
listOutput()
Get the list of output objects for this command. |
void |
removeOutput()
Remove output from the list of output for this command |
void |
removeOutput(Object output)
Remove output from the list of output for this command |
void |
updateHistory(String cmd)
|
| Method Detail |
public String getId()
public String getName()
public String getType()
public Object[] listOutput()
public Object getContext()
This is used in order to store the state of the current shell on disconnect,
such that the same directory can be set on reconnect. It may also be used
as input for content assist.public int getSize()
public IRemoteFileSubSystem getFileSubSystem()
public IRemoteCmdSubSystem getCommandSubSystem()
public void associateProject(IProject project)
public IProject getAssociatedProject()
public void addOutput(Object output)
output - the output object to addpublic void removeOutput()
public void removeOutput(Object output)
public int getIndexOf(Object output)
public Object getOutputAt(int index)
public boolean isActive()
public String[] getHistory()
public void updateHistory(String cmd)
public ICandidateCommand[] getCandidateCommands()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||