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

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

public class CreateAndSetNewFeature
extends AbstractCommand

Creates a new feature and sets it as the EditFeature

Since:
1.1.0
Author:
jones

Constructor Summary
CreateAndSetNewFeature(EditGeom geom, Feature feature, ILayer layer)
           
 
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

CreateAndSetNewFeature

public CreateAndSetNewFeature(EditGeom geom,
                              Feature feature,
                              ILayer layer)
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