org.globus.cog.gridshell.model
Class GridShellAppImpl

java.lang.Object
  extended byorg.globus.cog.gridshell.model.GridShellAppImpl
All Implemented Interfaces:
GridShellApp, Serializable

public class GridShellAppImpl
extends Object
implements GridShellApp

See Also:
Serialized Form

Field Summary
static int DEFAULT_HISTORY_SIZE
           
 
Constructor Summary
GridShellAppImpl()
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener pListener)
          Adds pListener as a PropertyChangeListener
 String getPrompt()
          Get the current prompt
 Scope getScope()
          Returns the scope for this GridShell
 ShellHistory getShellHistory()
          Returns the history with this shell
 void removePropertyChangeListener(PropertyChangeListener pListener)
          Removes pListener from the list of propertyChangeListeners
 void setPrompt(String value)
          Set the prompt to nPrompt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_HISTORY_SIZE

public static final int DEFAULT_HISTORY_SIZE
See Also:
Constant Field Values
Constructor Detail

GridShellAppImpl

public GridShellAppImpl()
Method Detail

getScope

public Scope getScope()
Description copied from interface: GridShellApp
Returns the scope for this GridShell

Specified by:
getScope in interface GridShellApp
Returns:

getShellHistory

public ShellHistory getShellHistory()
Description copied from interface: GridShellApp
Returns the history with this shell

Specified by:
getShellHistory in interface GridShellApp
Returns:

getPrompt

public String getPrompt()
Description copied from interface: GridShellApp
Get the current prompt

Specified by:
getPrompt in interface GridShellApp
Returns:

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener pListener)
Description copied from interface: GridShellApp
Adds pListener as a PropertyChangeListener

Specified by:
addPropertyChangeListener in interface GridShellApp
Parameters:
pListener -

setPrompt

public void setPrompt(String value)
Description copied from interface: GridShellApp
Set the prompt to nPrompt

Specified by:
setPrompt in interface GridShellApp
Parameters:
value -

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener pListener)
Description copied from interface: GridShellApp
Removes pListener from the list of propertyChangeListeners

Specified by:
removePropertyChangeListener in interface GridShellApp
Parameters:
pListener -