org.argouml.uml.diagram.ui
Class ActionEdgesDisplay

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

public class ActionEdgesDisplay
extends UndoableAction

An action that makes all edges on the selected node visible/not visible on the diagram.

Since:
0.13.5

Constructor Summary
protected ActionEdgesDisplay(boolean showEdge, java.lang.String desc)
          The constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
static UndoableAction getHideEdges()
           
static UndoableAction getShowEdges()
           
 boolean isEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionEdgesDisplay

protected ActionEdgesDisplay(boolean showEdge,
                             java.lang.String desc)
The constructor.

Parameters:
showEdge - to show or not to show
desc - the name
Method Detail

actionPerformed

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

isEnabled

public boolean isEnabled()
Returns:
true if the action is enabled
See Also:
org.tigris.gef.undo.UndoableAction#isEnabled()

getShowEdges

public static UndoableAction getShowEdges()
Returns:
Returns the showEdges.

getHideEdges

public static UndoableAction getHideEdges()
Returns:
Returns the hideEdges.


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook