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

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

public class SetCurrentGeomCommand
extends AbstractCommand

Sets the current geometry in the handler to be the passed in geometry

Since:
1.1.0
Author:
jones

Constructor Summary
SetCurrentGeomCommand(EditToolHandler handler2, PrimitiveShape newShape2)
           
 
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

SetCurrentGeomCommand

public SetCurrentGeomCommand(EditToolHandler handler2,
                             PrimitiveShape newShape2)
Parameters:
handler2 -
newShape2 -
Method Detail

run

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

getName

public java.lang.String getName()

rollback

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