org.argouml.uml.diagram.ui
Class ActionAddAssociation

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.tigris.gef.base.Cmd
          extended byorg.tigris.gef.base.CmdSetMode
              extended byorg.argouml.ui.CmdSetMode
                  extended byorg.argouml.uml.diagram.ui.ActionAddAssociation
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class ActionAddAssociation
extends CmdSetMode

The ActionAddAssociation class is for creating a dummy link with a stimulus and a given action type. This is done in one step when a new edge between two nodes is instanciated

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
 
Fields inherited from class org.argouml.ui.CmdSetMode
 
Fields inherited from class org.tigris.gef.base.CmdSetMode
_modeArgs
 
Fields inherited from class org.tigris.gef.base.Cmd
_args, _resource
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ActionAddAssociation(java.lang.Object aggregationKind, boolean unidirectional, java.lang.String name)
          Construct a new ActionAddAssociation.
 
Methods inherited from class org.argouml.ui.CmdSetMode
 
Methods inherited from class org.tigris.gef.base.CmdSetMode
doIt, undoIt
 
Methods inherited from class org.tigris.gef.base.Cmd
about, actionPerformed, cmdAtIndex, containsArg, getArg, getArg, getName, getResource, register, registeredCmds, setArg, setName, setResource, shouldBeEnabled, updateEnabled
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionAddAssociation

public ActionAddAssociation(java.lang.Object aggregationKind,
                            boolean unidirectional,
                            java.lang.String name)
Construct a new ActionAddAssociation.

Parameters:
aggregationKind - the required aggregation for the association.
unidirectional - true if this is to create a unidirectional association
name - the action description


ArgoUML © 1996-2004 (20040316)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook