allensoft.javacvs.client.ui.swing
Class CVSActionPool

java.lang.Object
  |
  +--allensoft.javacvs.client.ui.swing.CVSActionPool
All Implemented Interfaces:
ActionList, ActionPool

public class CVSActionPool
extends java.lang.Object
implements ActionPool, ActionList

Defines a pool of actions that perform the tasks of a graphical client.


Constructor Summary
CVSActionPool()
           
 
Method Summary
 void addAction(javax.swing.Action a)
          Adds a new action to this action pool.
 void disableAllActions()
           
 javax.swing.Action getAction(int i)
           
 int getActionCount()
           
 javax.swing.Action getActionWithID(java.lang.String s)
           
 void setSelectedFiles(java.io.File[] files)
          Sets the selected files for all CVSActions in this action group.
 void updateEnabledForAllActions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CVSActionPool

public CVSActionPool()
Method Detail

addAction

public void addAction(javax.swing.Action a)
Adds a new action to this action pool.

getActionWithID

public javax.swing.Action getActionWithID(java.lang.String s)
Specified by:
getActionWithID in interface ActionPool

getActionCount

public int getActionCount()
Specified by:
getActionCount in interface ActionList

getAction

public javax.swing.Action getAction(int i)
Specified by:
getAction in interface ActionList

setSelectedFiles

public void setSelectedFiles(java.io.File[] files)
Sets the selected files for all CVSActions in this action group.

disableAllActions

public void disableAllActions()

updateEnabledForAllActions

public void updateEnabledForAllActions()