org.argouml.uml.ui.foundation.core
Class ActionAddAttribute

java.lang.Object
  extended by UndoableAction
      extended by org.argouml.uml.ui.foundation.core.ActionAddAttribute

public class ActionAddAttribute
extends UndoableAction

Action to add an attribute to a Classifier or AssociationEnd.

This class shall be the only one that knows when this tool should be downlighted or not.


Constructor Summary
ActionAddAttribute()
          The constructor for this class.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
static ActionAddAttribute getTargetFollower()
           
 boolean shouldBeEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionAddAttribute

public ActionAddAttribute()
The constructor for this class.

Method Detail

getTargetFollower

public static ActionAddAttribute getTargetFollower()

actionPerformed

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

shouldBeEnabled

public boolean shouldBeEnabled()
Returns:
true if this tool should be enabled


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook