org.argouml.ui
Class ActionCreateEdgeModelElement

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.argouml.ui.ActionCreateEdgeModelElement
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class ActionCreateEdgeModelElement
extends javax.swing.AbstractAction

An action to create a relation between 2 model elements.

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
ActionCreateEdgeModelElement(java.lang.Object theMetaType, java.lang.Object theSource, java.lang.Object theDestination, java.lang.String relationshipDescr)
          Create a new model element which in graph terminology is an edge, ie a model element that links two other model elements and makes no sense to exist by itelf.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
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

ActionCreateEdgeModelElement

public ActionCreateEdgeModelElement(java.lang.Object theMetaType,
                                    java.lang.Object theSource,
                                    java.lang.Object theDestination,
                                    java.lang.String relationshipDescr)
Create a new model element which in graph terminology is an edge, ie a model element that links two other model elements and makes no sense to exist by itelf.

Parameters:
theMetaType - The type of model element to create
theSource - The source model element to link
theDestination - The destination model element to link
relationshipDescr - A textual description that describes how source relates to destination
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook