org.argouml.uml.diagram.ui
Class ActionAddAssociation

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--org.tigris.gef.base.Cmd
              |
              +--org.tigris.gef.base.CmdSetMode
                    |
                    +--org.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 org.tigris.gef.base.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

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(ru.novosoft.uml.foundation.data_types.MAggregationKind aggregation, boolean unidirectional, java.lang.String name)
          Construct a new ActionAddAssociation
 
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, 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(ru.novosoft.uml.foundation.data_types.MAggregationKind aggregation,
                            boolean unidirectional,
                            java.lang.String name)
Construct a new ActionAddAssociation
Parameters:
aggregation - the required aggregation for the association.
unidirectional - true if this is to create a unidirectional association
name - the action description


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook