org.argouml.uml.diagram.ui
Class ActionAddAssociationRole
java.lang.Object
javax.swing.AbstractAction
org.tigris.gef.base.Cmd
org.tigris.gef.base.CmdSetMode
org.argouml.ui.CmdSetMode
org.argouml.uml.diagram.ui.ActionAddAssociationRole
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class ActionAddAssociationRole
- 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
Created on 15 February 2003, 01:01
- See Also:
- Serialized Form
| Methods inherited from class org.tigris.gef.base.Cmd |
about, actionPerformed, cmdAtIndex, containsArg, getArg, getArg, getName, getResource, register, registeredCmds, setArg, setName, setResource, shouldBeEnabled, updateEnabled |
ActionAddAssociationRole
public ActionAddAssociationRole(Object aggregationKind,
boolean unidirectional,
String name)
- Construct a new ActionAddAssociationRole.
- Parameters:
aggregationKind - the required aggregation for the association.unidirectional - true if this is to create a unidirectional
associationname - the action description
ActionAddAssociationRole
public ActionAddAssociationRole(Object aggregationKind,
boolean unidirectional,
String name,
String iconName)
- The constructor.
- Parameters:
aggregationKind - the required aggregation for the association.unidirectional - true if this is to create a unidirectional
associationname - the action descriptioniconName - the name of the icon file