net.refractions.udig.tools.edit.commands
Class CreateEditGeomCommand
java.lang.Object
AbstractCommand
net.refractions.udig.tools.edit.commands.CreateEditGeomCommand
public class CreateEditGeomCommand
- extends AbstractCommand
Calls newGeom on the EditBlackboard.
- Since:
- 1.1.0
- Author:
- jones
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateEditGeomCommand
public CreateEditGeomCommand(EditBlackboard blackboard,
java.lang.String fid)
- New Instance
- Parameters:
blackboard
- the blackboard to creat the new geom on.fid
- the string to use as the feature id of the new Geom
CreateEditGeomCommand
public CreateEditGeomCommand(EditBlackboard blackboard,
java.lang.String fid,
ShapeType shapeType)
- New Instance
- Parameters:
blackboard
- the blackboard to creat the new geom on.fid
- the string to use as the feature id of the new GeomshapeType
- the type of shape to create.
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
get
public EditGeom get(IProgressMonitor monitor)
getEditGeomProvider
public getEditGeomProvider()
getShapeProvider
public getShapeProvider()