Dresden OCL Toolkit

tudresden.ocl.sql.gui
Class ChoiceTab.Setter

java.lang.Object
  extended bytudresden.ocl.sql.gui.ChoiceTab.Setter
All Implemented Interfaces:
ActionListener, EventListener
Enclosing class:
ChoiceTab

private class ChoiceTab.Setter
extends Object
implements ActionListener

ActionListener for the Set strategyButton. checks whether the strategyCreator has a View and displays it if nessecary. Sets the chosen Strategy


Field Summary
private  Vector objects
           
private  Vector strategyCreators
           
private  Hashtable strategyMapper
           
 
Constructor Summary
ChoiceTab.Setter(Vector objects, Vector strategyCreators, Hashtable strategyMapper)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objects

private Vector objects

strategyCreators

private Vector strategyCreators

strategyMapper

private Hashtable strategyMapper
Constructor Detail

ChoiceTab.Setter

public ChoiceTab.Setter(Vector objects,
                        Vector strategyCreators,
                        Hashtable strategyMapper)
Parameters:
objects - a Vector of MBase according to chooseable Strategies
strategyCreators - a Vector of StrategyCreator according to the choice
strategyMapper - stores the set Strategy (MBase -> Strategy) Strategy as created by chosen StrategyCreator
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

Dresden OCL Toolkit

Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.