org.argouml.uml.diagram.ui
Class ActionAggregation

java.lang.Object
  extended by UndoableAction
      extended by org.argouml.uml.diagram.ui.ActionAggregation

public class ActionAggregation
extends UndoableAction

Action to set the Aggregation kind.


Constructor Summary
protected ActionAggregation(java.lang.Object a, java.lang.String s)
          The constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
static UndoableAction getDestAgg()
           
static UndoableAction getDestAggComposite()
           
static UndoableAction getDestAggNone()
           
static UndoableAction getSrcAgg()
           
static UndoableAction getSrcAggComposite()
           
static UndoableAction getSrcAggNone()
           
 boolean isEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionAggregation

protected ActionAggregation(java.lang.Object a,
                            java.lang.String s)
The constructor.

Parameters:
a - the aggregation kind object
s - "src" or "dest". Anything else is interpreted as "dest".
Method Detail

actionPerformed

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

isEnabled

public boolean isEnabled()

getSrcAgg

public static UndoableAction getSrcAgg()
Returns:
Returns the srcAgg.

getDestAgg

public static UndoableAction getDestAgg()
Returns:
Returns the destAgg.

getSrcAggComposite

public static UndoableAction getSrcAggComposite()
Returns:
Returns the srcAggComposite.

getDestAggComposite

public static UndoableAction getDestAggComposite()
Returns:
Returns the destAggComposite.

getSrcAggNone

public static UndoableAction getSrcAggNone()
Returns:
Returns the srcAggNone.

getDestAggNone

public static UndoableAction getDestAggNone()
Returns:
Returns the destAggNone.


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook