net.refractions.udig.tools.edit.commands
Class MoveSelectionCommand

java.lang.Object
  extended by AbstractCommand
      extended by net.refractions.udig.tools.edit.commands.MoveSelectionCommand

public class MoveSelectionCommand
extends AbstractCommand

Moves a selection on the edit blackboard.

Since:
1.1.0
Author:
Jesse

Constructor Summary
MoveSelectionCommand(EditBlackboard editBlackboard, int deltaX, int deltaY, Selection toMove)
           
 
Method Summary
 java.lang.String getName()
           
 void rollback(IProgressMonitor monitor)
           
 void run(IProgressMonitor monitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveSelectionCommand

public MoveSelectionCommand(EditBlackboard editBlackboard,
                            int deltaX,
                            int deltaY,
                            Selection toMove)
Method Detail

rollback

public void rollback(IProgressMonitor monitor)
              throws java.lang.Exception
Throws:
java.lang.Exception

run

public void run(IProgressMonitor monitor)
         throws java.lang.Exception
Throws:
java.lang.Exception

getName

public java.lang.String getName()