org.argouml.uml.ui
Class ActionSequenceDiagram

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.tigris.gef.undo.UndoableAction
          extended byorg.argouml.uml.ui.ActionNewDiagram
              extended byorg.argouml.uml.ui.ActionSequenceDiagram
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

public final class ActionSequenceDiagram
extends org.argouml.uml.ui.ActionNewDiagram

Action to add a new sequence diagram.

See Also:
Serialized Form

Field Summary
 
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
ActionSequenceDiagram()
          Constructor.
 
Method Summary
 void actionPerformed(ActionEvent e)
           
protected static Object createCollaboration()
          Utility function to create a collaboration.
 UMLDiagram createDiagram()
           
 
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

ActionSequenceDiagram

public ActionSequenceDiagram()
Constructor.

Method Detail

createDiagram

public UMLDiagram createDiagram()
Returns:
the new diagram
See Also:
ActionNewDiagram.createDiagram()

actionPerformed

public void actionPerformed(ActionEvent e)
See Also:
ActionListener.actionPerformed( java.awt.event.ActionEvent)

createCollaboration

protected static Object createCollaboration()
Utility function to create a collaboration.

Returns:
a new collaboration


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook