|
||||||||||
| 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.backward.command.PasteCommand
public class PasteCommand
Command for pasting nodes into a diagram.
| Constructor Summary | |
|---|---|
PasteCommand(Collection<Node> collection,
IDiagram diagram)
Creates new instance of the paste command. |
|
| Method Summary | |
|---|---|
boolean |
canExecute()
|
void |
execute()
|
void |
undo()
|
| Methods inherited from class org.eclipse.gef.commands.Command |
|---|
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 PasteCommand(Collection<Node> collection,
IDiagram diagram)
collection - collection of Nodes to pastediagram - the diagram to paste into| Method Detail |
|---|
public boolean canExecute()
canExecute in class org.eclipse.gef.commands.CommandCommand.canExecute()public void execute()
execute in class org.eclipse.gef.commands.CommandCommand.execute()public void undo()
undo in class org.eclipse.gef.commands.CommandCommand.undo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||