org.globus.cog.gridshell.ctrl
Class ShellBinder

java.lang.Object
  extended byorg.globus.cog.gridshell.ctrl.AbstractActionBinder
      extended byorg.globus.cog.gridshell.ctrl.ShellBinder

public class ShellBinder
extends AbstractActionBinder


Field Summary
protected  GridShellApp application
           
protected static String commandEntered
           
protected  Action commandEnteredAction
           
protected static String getDecHistory
           
protected  Action getDecHistoryAction
           
protected static String getIncHistory
           
protected  Action getIncHistoryAction
           
protected  GridShell gridShell
           
protected  GridShellSwingGUI gui
           
 
Constructor Summary
ShellBinder(GridShell gridShell)
           
 
Method Summary
 void createBindings()
          Should use addMapping method to add mappings to components, then when restoreBindings is called the bindings will be restored to the state that they were before the components were bound
 Object enterPressed(String commandValue)
           
 GridShellApp getApplication()
           
 GridShellSwingGUI getGUI()
           
 Object upKeyPressed()
           
 
Methods inherited from class org.globus.cog.gridshell.ctrl.AbstractActionBinder
addMapping, restoreBindings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gridShell

protected GridShell gridShell

gui

protected GridShellSwingGUI gui

application

protected GridShellApp application

commandEntered

protected static final String commandEntered
See Also:
Constant Field Values

getDecHistory

protected static final String getDecHistory
See Also:
Constant Field Values

getIncHistory

protected static final String getIncHistory
See Also:
Constant Field Values

commandEnteredAction

protected Action commandEnteredAction

getDecHistoryAction

protected Action getDecHistoryAction

getIncHistoryAction

protected Action getIncHistoryAction
Constructor Detail

ShellBinder

public ShellBinder(GridShell gridShell)
Method Detail

createBindings

public void createBindings()
Description copied from class: AbstractActionBinder
Should use addMapping method to add mappings to components, then when restoreBindings is called the bindings will be restored to the state that they were before the components were bound

Specified by:
createBindings in class AbstractActionBinder

enterPressed

public Object enterPressed(String commandValue)
Parameters:
commandValue - - commandLine minus the prompt value
Returns:

upKeyPressed

public Object upKeyPressed()

getGUI

public GridShellSwingGUI getGUI()

getApplication

public GridShellApp getApplication()