org.argouml.uml.diagram.ui
Class ActionEdgesDisplay
java.lang.Object
UndoableAction
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionEdgesDisplay
protected ActionEdgesDisplay(boolean showEdge,
java.lang.String desc)
- The constructor.
- Parameters:
showEdge - to show or not to showdesc - the name
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.