org.argouml.ui
Class ActionCreateContainedModelElement

java.lang.Object
  extended by UndoableAction
      extended by org.argouml.uml.ui.AbstractActionNewModelElement
          extended by org.argouml.ui.ActionCreateContainedModelElement

public class ActionCreateContainedModelElement
extends AbstractActionNewModelElement

An action to create a model element to be contained by the target model element.


Constructor Summary
ActionCreateContainedModelElement(java.lang.Object theMetaType, java.lang.Object target, java.lang.String menuDescr)
          Construct the action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class org.argouml.uml.ui.AbstractActionNewModelElement
getTarget, setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionCreateContainedModelElement

public ActionCreateContainedModelElement(java.lang.Object theMetaType,
                                         java.lang.Object target,
                                         java.lang.String menuDescr)
Construct the action.

Parameters:
theMetaType - the element to be created
target - the container that will own the new element
menuDescr - the description for the menu item label.
Method Detail

actionPerformed

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


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook