|
org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem
Class ServiceCommandShell
java.lang.Object
org.eclipse.rse.subsystems.shells.core.model.RemoteCommandShell
org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ServiceCommandShell
-
All Implemented Interfaces:
-
IAdaptable,
IHostShellOutputListener,
IRemoteCommandShell,
IServiceCommandShell
-
public class ServiceCommandShell
- extends
RemoteCommandShell
- implements
IServiceCommandShell
Methods inherited from class org.eclipse.rse.subsystems.shells.core.model.
RemoteCommandShell
|
addOutput,
associateProject,
getAdapter,
getAssociatedProject,
getCommandSubSystem,
getContext,
getContextString,
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,
getContextString,
getFileSubSystem,
getHistory,
getId,
getIndexOf,
getName,
getOutputAt,
getSize,
getType,
listOutput,
removeOutput,
removeOutput,
updateHistory
|
_hostShell
protected
IHostShell _hostShell
ServiceCommandShell
public ServiceCommandShell(
IRemoteCmdSubSystem cmdSS,
IHostShell hostShell)
getTitle
public
String getTitle()
-
-
Specified by:
-
getTitle
in class
RemoteCommandShell
-
isActive
public boolean isActive()
-
Description copied from interface:
IRemoteCommandShell
- Indicate whether the corresponding command is running or not
-
-
Specified by:
-
isActive
in interface
IRemoteCommandShell
-
Specified by:
-
isActive
in class
RemoteCommandShell
-
-
Returns:
- whether the command is running or not
getHostShell
public
IHostShell getHostShell()
-
-
Specified by:
-
getHostShell
in interface
IServiceCommandShell
-
shellOutputChanged
public void shellOutputChanged(
IHostShellChangeEvent event)
-
-
Specified by:
-
shellOutputChanged
in interface
IHostShellOutputListener
-
notifyOutputChanged
protected void notifyOutputChanged(
IRemoteOutput[] outputs,
boolean cwdChanged)
- Notify listeners about new outputs. This will update any shell views with
the new data.
-
-
-
Parameters:
-
outputs - the output objects to notify -
cwdChanged - true if the current directory changed -
Since:
- org.eclipse.rse.subsystems.shells.core 3.0
getCandidateCommands
public
ICandidateCommand[] getCandidateCommands()
-
Description copied from class:
RemoteCommandShell
- Override to provide a list of possible commands
-
-
Specified by:
-
getCandidateCommands
in interface
IRemoteCommandShell
-
Specified by:
-
getCandidateCommands
in class
RemoteCommandShell
-
-
Returns:
- the list of possible commands
writeToShell
public void writeToShell(
String cmd)
-
-
Specified by:
-
writeToShell
in interface
IServiceCommandShell
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.
|
|