pl.edu.agh.cast.command
Class PasteCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by pl.edu.agh.cast.command.PasteCommand

public class PasteCommand
extends org.eclipse.gef.commands.Command

Author:
Bartek, awos

Constructor Summary
PasteCommand(java.util.Collection<Node> collection, IDiagram diagram)
           
 
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

PasteCommand

public PasteCommand(java.util.Collection<Node> collection,
                    IDiagram diagram)
Parameters:
clonedList -
Method Detail

canExecute

public boolean canExecute()
Overrides:
canExecute in class org.eclipse.gef.commands.Command

execute

public void execute()
Overrides:
execute in class org.eclipse.gef.commands.Command

undo

public void undo()
Overrides:
undo in class org.eclipse.gef.commands.Command


Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.