Remote Systems
v6.4.1

com.ibm.etools.systems.universalcmdsubsys.impl
Class UniversalCommandShellImpl

java.lang.Object
  extended bycom.ibm.etools.systems.subsystems.impl.RemoteCommandShellImpl
      extended bycom.ibm.etools.systems.universalcmdsubsys.impl.UniversalCommandShellImpl
All Implemented Interfaces:
IAdaptable, IDomainListener, IRemoteCommandShell

public class UniversalCommandShellImpl
extends RemoteCommandShellImpl
implements IDomainListener

Implementation of a universal command. This is a handle to a shell on a universal system.


Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.systems.subsystems.impl.RemoteCommandShellImpl
_cmdHistory, _cmdSubSystem, _cwd, _fileSubSystem, _id, _name, _output, _project, _type
 
Constructor Summary
UniversalCommandShellImpl(RemoteCmdSubSystem cmdSubSystem, DataElement commandElement, boolean isShell)
           
 
Method Summary
 void domainChanged(DomainEvent e)
           
 ICandidateCommand[] getCandidateCommands()
          Override to provide a list of possible commands
 DataElement getDataElement()
           
 Shell getShell()
           
 boolean isActive()
          Indicate whether the corresponding command is running or not
 boolean listeningTo(DomainEvent e)
           
 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
 
Methods inherited from class com.ibm.etools.systems.subsystems.impl.RemoteCommandShellImpl
addOutput, associateProject, getAdapter, getAssociatedProject, getCommandSubSystem, getContext, getFileSubSystem, getHistory, getId, getIndexOf, getName, getOutputAt, getRoots, getSize, getTitle, getType, getWorkingDirectory, isWindows, listOutput, setName, setType, setWorkingDirectory, updateHistory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

UniversalCommandShellImpl

public UniversalCommandShellImpl(RemoteCmdSubSystem cmdSubSystem,
                                 DataElement commandElement,
                                 boolean isShell)
Method Detail

isActive

public boolean isActive()
Description copied from interface: IRemoteCommandShell
Indicate whether the corresponding command is running or not

Specified by:
isActive in interface IRemoteCommandShell
Overrides:
isActive in class RemoteCommandShellImpl

getDataElement

public DataElement getDataElement()

removeOutput

public void removeOutput()
Description copied from interface: IRemoteCommandShell
Remove output from the list of output for this command

Specified by:
removeOutput in interface IRemoteCommandShell
Overrides:
removeOutput in class RemoteCommandShellImpl

removeOutput

public void removeOutput(Object output)
Description copied from interface: IRemoteCommandShell
Remove output from the list of output for this command

Specified by:
removeOutput in interface IRemoteCommandShell
Overrides:
removeOutput in class RemoteCommandShellImpl

getCandidateCommands

public ICandidateCommand[] getCandidateCommands()
Description copied from class: RemoteCommandShellImpl
Override to provide a list of possible commands

Specified by:
getCandidateCommands in interface IRemoteCommandShell
Overrides:
getCandidateCommands in class RemoteCommandShellImpl

listeningTo

public boolean listeningTo(DomainEvent e)
Specified by:
listeningTo in interface IDomainListener

domainChanged

public void domainChanged(DomainEvent e)
Specified by:
domainChanged in interface IDomainListener

getShell

public Shell getShell()
Specified by:
getShell in interface IDomainListener

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.