org.argouml.uml.ui
Class ActionLayout

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

public class ActionLayout
extends org.tigris.gef.undo.UndoableAction

Action to automatically lay out a 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
ActionLayout()
          The constructor.
 
Method Summary
 void actionPerformed(ActionEvent ae)
           
 boolean isEnabled()
          Check whether we deal with a supported diagram type (currently only UMLClassDiagram).
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionLayout

public ActionLayout()
The constructor.

Method Detail

isEnabled

public boolean isEnabled()
Check whether we deal with a supported diagram type (currently only UMLClassDiagram).

Returns:
true if the action is enabled
See Also:
ProjectBrowser

actionPerformed

public void actionPerformed(ActionEvent ae)


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook