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

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

public class DifferenceFeatureCommand
extends AbstractCommand

Splits a feature based on the current shape in the handler. After the command the current shape will be set to null and the edit blackboard will be cleared.

Since:
1.1.0
Author:
jones

Constructor Summary
DifferenceFeatureCommand(EditToolHandler handler, EditState endState)
           
 
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

DifferenceFeatureCommand

public DifferenceFeatureCommand(EditToolHandler handler,
                                EditState endState)
Parameters:
handler -
Method Detail

run

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

rollback

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

getName

public java.lang.String getName()