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

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

public class SetEditStateCommand
extends AbstractCommand

Sets the current state in the handler.

Since:
1.1.0
Author:
jones

Constructor Summary
SetEditStateCommand(EditToolHandler handler2, EditState newState)
           
 
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

SetEditStateCommand

public SetEditStateCommand(EditToolHandler handler2,
                           EditState newState)
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