|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
pl.edu.agh.cast.schema.editor.command.AddNodeCommand
public class AddNodeCommand
Command for adding a ISchemaNode
to a diagram.
Constructor Summary | |
---|---|
AddNodeCommand(ISchemaDataSet modelDataSet,
ISchemaNode node,
org.eclipse.draw2d.geometry.Point location)
Creates new instance of command for adding a node to a diagram. |
Method Summary | |
---|---|
void |
execute()
|
void |
undo()
|
Methods inherited from class org.eclipse.gef.commands.Command |
---|
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddNodeCommand(ISchemaDataSet modelDataSet, ISchemaNode node, org.eclipse.draw2d.geometry.Point location)
modelDataSet
- model data set which contains data for current diagramnode
- the node to addlocation
- location of the nodeMethod Detail |
---|
public void execute()
execute
in class org.eclipse.gef.commands.Command
Command.execute()
public void undo()
undo
in class org.eclipse.gef.commands.Command
Command.undo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |