org.argouml.uml.ui
Class ActionGenerateAll

java.lang.Object
  extended by UndoableAction
      extended by org.argouml.uml.ui.ActionGenerateAll

public class ActionGenerateAll
extends UndoableAction

Action to trigger code generation for one or more classes.

In fact, only all named classes and interfaces on the active diagram are generated. Or, if this delivers an empty collection, all selected classes, interfaces and the contents of selected packages are generated (independent if they are named or not).

TODO: Implement a more logical behaviour.


Constructor Summary
ActionGenerateAll()
          Constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
 boolean isEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionGenerateAll

public ActionGenerateAll()
Constructor.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)

isEnabled

public boolean isEnabled()
Returns:
true if the action is enabled and the active diagram is a class diagram
See Also:
org.tigris.gef.undo.UndoableAction#isEnabled()


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook