|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectUndoableAction
org.argouml.uml.ui.ActionDeleteModelElements
public class ActionDeleteModelElements
Action for removing objects from the model. Objects can be Modelelements, Diagrams (argodiagram and it's children), Figs without owner,...
| Constructor Summary | |
|---|---|
ActionDeleteModelElements()
Constructor. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
|
static ActionDeleteModelElements |
getTargetFollower()
|
boolean |
shouldBeEnabled()
|
static boolean |
sureRemove(java.lang.Object target)
A utility method that asks the user if he is sure to remove the selected target. |
protected static boolean |
sureRemoveModelElement(java.lang.Object me)
An utility method that asks the user if he is sure to remove a selected model element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionDeleteModelElements()
| Method Detail |
|---|
public static ActionDeleteModelElements getTargetFollower()
public void actionPerformed(java.awt.event.ActionEvent ae)
public static boolean sureRemove(java.lang.Object target)
target - the object that will be removed
protected static boolean sureRemoveModelElement(java.lang.Object me)
me - the modelelement that may be removed
public boolean shouldBeEnabled()
|
||||||||||
| 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 |