|
||||||||||
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.NodeCreateCommand
public class NodeCreateCommand
Adds a new node to the diagram.
Constructor Summary | |
---|---|
NodeCreateCommand(NodeModelElement newNodeModelElement,
IContainerElement containerElement,
org.eclipse.draw2d.geometry.Rectangle rectangleBounds)
|
Method Summary | |
---|---|
boolean |
canExecute()
|
void |
execute()
|
void |
redo()
|
void |
undo()
|
Methods inherited from class org.eclipse.gef.commands.Command |
---|
canUndo, 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 NodeCreateCommand(NodeModelElement newNodeModelElement, IContainerElement containerElement, org.eclipse.draw2d.geometry.Rectangle rectangleBounds)
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |