RSE
Release 1.0

org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem
Class ServiceCommandShell

java.lang.Object
  extended byorg.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCommandShell
      extended byorg.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ServiceCommandShell
All Implemented Interfaces:
IAdaptable, IHostShellOutputListener, IRemoteCommandShell, IServiceCommandShell
Direct Known Subclasses:
DStoreServiceCommandShell, LocalServiceCommandShell, SshServiceCommandShell

public class ServiceCommandShell
extends org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCommandShell
implements IServiceCommandShell


Field Summary
protected  IHostShell _hostShell
           
protected  org.eclipse.rse.internal.subsystems.shells.servicesubsystem.OutputRefreshJob _lastRefreshJob
           
 
Fields inherited from class org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCommandShell
_cmdHistory, _cmdSubSystem, _cwd, _fileSubSystem, _id, _name, _output, _project, _type
 
Constructor Summary
ServiceCommandShell(IRemoteCmdSubSystem cmdSS, IHostShell hostShell)
           
 
Method Summary
 ICandidateCommand[] getCandidateCommands()
          Return the list of possible commands for this command shell
 IHostShell getHostShell()
           
 String getTitle()
           
 boolean isActive()
          Indicate whether the corresponding command is running or not
 void shellOutputChanged(IHostShellChangeEvent event)
           
 void writeToShell(String cmd)
           
 
Methods inherited from class org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCommandShell
addOutput, associateProject, getAdapter, getAssociatedProject, getCommandSubSystem, getContext, getFileSubSystem, getHistory, getId, getIndexOf, getName, getOutputAt, getRoots, getSize, getType, getWorkingDirectory, isWindows, listOutput, removeOutput, removeOutput, setName, setType, setWorkingDirectory, updateHistory
 
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.subsystems.shells.core.subsystems.IRemoteCommandShell
addOutput, associateProject, getAssociatedProject, getCommandSubSystem, getContext, getFileSubSystem, getHistory, getId, getIndexOf, getName, getOutputAt, getSize, getType, listOutput, removeOutput, removeOutput, updateHistory
 

Field Detail

_hostShell

protected IHostShell _hostShell

_lastRefreshJob

protected org.eclipse.rse.internal.subsystems.shells.servicesubsystem.OutputRefreshJob _lastRefreshJob
Constructor Detail

ServiceCommandShell

public ServiceCommandShell(IRemoteCmdSubSystem cmdSS,
                           IHostShell hostShell)
Method Detail

getTitle

public String getTitle()

isActive

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

Specified by:
isActive in interface IRemoteCommandShell

getHostShell

public IHostShell getHostShell()
Specified by:
getHostShell in interface IServiceCommandShell

shellOutputChanged

public void shellOutputChanged(IHostShellChangeEvent event)
Specified by:
shellOutputChanged in interface IHostShellOutputListener

getCandidateCommands

public ICandidateCommand[] getCandidateCommands()
Description copied from interface: IRemoteCommandShell
Return the list of possible commands for this command shell

Specified by:
getCandidateCommands in interface IRemoteCommandShell

writeToShell

public void writeToShell(String cmd)
Specified by:
writeToShell in interface IServiceCommandShell

RSE
Release 1.0

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