|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.AbstractAction
org.tigris.gef.undo.UndoableAction
org.argouml.uml.ui.AbstractActionRemoveElement
Base class for remove actions. Remove actions can remove an element from the model. This can either be a total remove ('erase from model') or just a remove from a list of bases as in the case of classifierrole bases.
| 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 | |
protected |
AbstractActionRemoveElement()
Constructor for AbstractActionRemoveElement. |
protected |
AbstractActionRemoveElement(String name)
The constructor. |
| Method Summary | |
Object |
getObjectToRemove()
Returns the objectToRemove. |
Object |
getTarget()
Returns the target. |
boolean |
isEnabled()
|
void |
setObjectToRemove(Object theObjectToRemove)
Sets the objectToRemove. |
void |
setTarget(Object theTarget)
Sets the target. |
| Methods inherited from class org.tigris.gef.undo.UndoableAction |
actionPerformed |
| 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 |
protected AbstractActionRemoveElement()
protected AbstractActionRemoveElement(String name)
name - the name for this action| Method Detail |
public Object getTarget()
public void setTarget(Object theTarget)
theTarget - The target to setpublic Object getObjectToRemove()
public void setObjectToRemove(Object theObjectToRemove)
theObjectToRemove - The objectToRemove to setpublic boolean isEnabled()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |