org.globus.cog.gridshell.interfaces
Interface GridShell

All Superinterfaces:
Command, Comparable, Program, PropertyChangeNotifier, Runnable
All Known Implementing Classes:
Gsh

public interface GridShell
extends Program


Field Summary
static String DEFAULT_PROMPT
          The default prompt for a grid shell
 
Method Summary
 void acceptCommandState()
          Switches to an accepting command state
 GridShellApp getApplication()
          Gets the App Component associated with this GridShell
 Action getCloseAction()
          Returns the action invoked to close the GridShell
 GridShellSwingGUI getGUI()
          Gets the GUI Component associated with this GridShell
 void processCommandState()
          Switches to a processing state
 void setApplication(GridShellApp nApp)
          Allows applications to be set by new shells
 
Methods inherited from interface org.globus.cog.gridshell.interfaces.Program
addCommand, createAndExecuteCommand, createCommand, executeCommand, getCommands, removeCommand
 
Methods inherited from interface org.globus.cog.gridshell.interfaces.Command
destroy, execute, getIdentity, getParent, getResult, getScope, getStatus, init, kill, resume, setStatusCode, suspend
 
Methods inherited from interface java.lang.Runnable
run
 
Methods inherited from interface org.globus.cog.gridshell.interfaces.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

DEFAULT_PROMPT

public static final String DEFAULT_PROMPT
The default prompt for a grid shell

See Also:
Constant Field Values
Method Detail

acceptCommandState

public void acceptCommandState()
Switches to an accepting command state


getGUI

public GridShellSwingGUI getGUI()
Gets the GUI Component associated with this GridShell

Returns:

getApplication

public GridShellApp getApplication()
Gets the App Component associated with this GridShell

Returns:

processCommandState

public void processCommandState()
Switches to a processing state


setApplication

public void setApplication(GridShellApp nApp)
Allows applications to be set by new shells

Parameters:
nApp - - the new application

getCloseAction

public Action getCloseAction()
Returns the action invoked to close the GridShell

Returns: