|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
org.argouml.ui.UndoableAction
org.argouml.uml.ui.AbstractActionRemoveElement
public class 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(java.lang.String name)
The constructor. |
Method Summary | |
---|---|
java.lang.Object |
getObjectToRemove()
Returns the objectToRemove. |
java.lang.Object |
getTarget()
Returns the target. |
boolean |
isEnabled()
|
void |
setObjectToRemove(java.lang.Object theObjectToRemove)
Sets the objectToRemove. |
void |
setTarget(java.lang.Object theTarget)
Sets the target. |
Methods inherited from class org.argouml.ui.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(java.lang.String name)
name
- the name for this actionMethod Detail |
---|
public java.lang.Object getTarget()
public void setTarget(java.lang.Object theTarget)
theTarget
- The target to setpublic java.lang.Object getObjectToRemove()
public void setObjectToRemove(java.lang.Object theObjectToRemove)
theObjectToRemove
- The objectToRemove to setpublic boolean isEnabled()
isEnabled
in interface javax.swing.Action
isEnabled
in class javax.swing.AbstractAction
|
||||||||||
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 |