|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
org.jupe.editors.classdiagram.model.commands.NodeDeleteCommand
public class NodeDeleteCommand
Recursively removes a node from the diagram (not from the UML2 model!). It's
the opposite of NodeAddCommand
.
Constructor Summary | |
---|---|
NodeDeleteCommand(NodeModelElement node,
NodeModelElement parentElement)
|
Method Summary | |
---|---|
boolean |
canExecute()
|
boolean |
canUndo()
|
void |
execute()
|
void |
redo()
|
void |
undo()
|
Methods inherited from class org.eclipse.gef.commands.Command |
---|
chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeDeleteCommand(NodeModelElement node, NodeModelElement parentElement)
Method Detail |
---|
public boolean canExecute()
canExecute
in class org.eclipse.gef.commands.Command
public void execute()
execute
in class org.eclipse.gef.commands.Command
public void redo()
redo
in class org.eclipse.gef.commands.Command
public void undo()
undo
in class org.eclipse.gef.commands.Command
public boolean canUndo()
canUndo
in class org.eclipse.gef.commands.Command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |