org.argouml.uml.diagram.ui
Class ActionAddAllClassesFromModel
java.lang.Object
javax.swing.AbstractAction
org.tigris.gef.undo.UndoableAction
org.argouml.uml.diagram.ui.ActionAddAllClassesFromModel
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class ActionAddAllClassesFromModel
- extends org.tigris.gef.undo.UndoableAction
ActionAddAllClassesFromModel enables pasting of an existing node into a
Diagram.
- See Also:
- Serialized Form
|
Method Summary |
void |
actionPerformed(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()
|
ActionAddAllClassesFromModel
public ActionAddAllClassesFromModel(String name,
Object o)
- Constructor
- Parameters:
name - the name of the actiono - the Diagram
isEnabled
public boolean isEnabled()
actionPerformed
public void actionPerformed(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