org.argouml.uml.diagram.ui
Class ActionAddAllClassesFromModel

java.lang.Object
  extended by UndoableAction
      extended by org.argouml.uml.diagram.ui.ActionAddAllClassesFromModel

public class ActionAddAllClassesFromModel
extends UndoableAction

ActionAddAllClassesFromModel enables pasting of an existing node into a Diagram.


Constructor Summary
ActionAddAllClassesFromModel(java.lang.String name, java.lang.Object o)
          Constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          actionPerformed Finds all of the classes within the same namespace as the UMLClassDiagram that was given to me in my constructor and adds them to the UMLClassDiagram.
 boolean isEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionAddAllClassesFromModel

public ActionAddAllClassesFromModel(java.lang.String name,
                                    java.lang.Object o)
Constructor

Parameters:
name - the name of the action
o - the Diagram
Method Detail

isEnabled

public boolean isEnabled()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed Finds all of the classes within the same namespace as the UMLClassDiagram that was given to me in my constructor and adds them to the UMLClassDiagram.

Parameters:
ae - - the ActionEvent


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook