graphlab.main.core
Class Configuration

java.lang.Object
  extended by graphlab.main.core.Configuration

public class Configuration
extends java.lang.Object

we have some groups of actions in the program. the actions are managed in some groups, whenever one action in a group enabled , all the other Actions in the group are disabled... User: azin Date: Dec 22, 2004 Time: 8:50:24 PM


Constructor Summary
Configuration()
           
 
Method Summary
 void addToGroup(java.lang.String groupname, AbstractAction... actions)
          adds on or more than one action to the group
 void enableAction(AbstractAction a)
          enables the action and disables all the other actions in its group
 void registerGroup(java.lang.String groupname)
          register an empty group in the configuration
 void removeActionFromGroup(AbstractAction a, java.lang.String groupname)
          removes an action from the specific group
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configuration

public Configuration()
Method Detail

registerGroup

public void registerGroup(java.lang.String groupname)
register an empty group in the configuration

Parameters:
groupname - name of group

removeActionFromGroup

public void removeActionFromGroup(AbstractAction a,
                                  java.lang.String groupname)
removes an action from the specific group

Parameters:
a -
groupname -

enableAction

public void enableAction(AbstractAction a)
enables the action and disables all the other actions in its group

Parameters:
a - the action to be enabled

addToGroup

public void addToGroup(java.lang.String groupname,
                       AbstractAction... actions)
adds on or more than one action to the group

Parameters:
groupname -
actions -