|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.uml.diagram.ui.ActionAddExistingEdge
ActionAddExistingEdge enables pasting of an existing edge into a Diagram.
Nested Class Summary |
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary | |
(package private) java.lang.Object |
_edge
|
Fields inherited from class org.argouml.uml.ui.UMLAction |
cat, HAS_ICON, NO_ICON |
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 | |
ActionAddExistingEdge(java.lang.String tabName,
java.lang.Object edge)
Constructor for ActionAddExistingEdge. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent arg0)
Perform the work the action is supposed to do. |
boolean |
shouldBeEnabled()
Return true if this action should be available to the user. |
Methods inherited from class org.argouml.uml.ui.UMLAction |
getMnemonic, getShortcut, getValue, isEnabled, markNeedsSave, putValue, stripJunk, updateEnabled, updateEnabled |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.lang.Object _edge
Constructor Detail |
public ActionAddExistingEdge(java.lang.String tabName, java.lang.Object edge)
tabName
- Method Detail |
public void actionPerformed(java.awt.event.ActionEvent arg0)
UMLAction
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class UMLAction
ActionListener.actionPerformed(ActionEvent)
public boolean shouldBeEnabled()
UMLAction
shouldBeEnabled
in class UMLAction
UMLAction.shouldBeEnabled()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040316) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |