org.argouml.uml.diagram.sequence.ui
Class ActionAddClassifierRole

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.tigris.gef.undo.UndoableAction
          extended byorg.tigris.gef.base.CreateNodeAction
              extended byorg.argouml.ui.CmdCreateNode
                  extended byorg.argouml.uml.diagram.sequence.ui.ActionAddClassifierRole
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, GraphFactory, Serializable

public class ActionAddClassifierRole
extends CmdCreateNode

Action to add an object to a sequence diagram.

Since:
Aug 11, 2003
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tigris.gef.base.CreateNodeAction
DEFAULT_NODE_CLASS, 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
ActionAddClassifierRole()
          The constructor.
 
Method Summary
 Object makeNode()
          Delegate creation of the node to the uml model subsystem.
 
Methods inherited from class org.tigris.gef.base.CreateNodeAction
actionPerformed, getActiveGraphModel, getArg, getArg, makeEdge, makeGraphModel, setArg
 
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

ActionAddClassifierRole

public ActionAddClassifierRole()
The constructor.

Method Detail

makeNode

public Object makeNode()
Description copied from class: CmdCreateNode
Delegate creation of the node to the uml model subsystem.

Specified by:
makeNode in interface GraphFactory
Overrides:
makeNode in class CmdCreateNode
Returns:
an object which represents a particular UML Element.
See Also:
GraphFactory.makeNode(), CmdCreateNode.makeNode()


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook