net.refractions.udig.tools.edit.commands
Class AddVertexCommand
java.lang.Object
AbstractCommand
net.refractions.udig.tools.edit.commands.AddVertexCommand
public class AddVertexCommand
- extends AbstractCommand
Command for adding a vertext to a EditGeom
- Since:
- 1.1.0
- Author:
- jones
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddVertexCommand
public AddVertexCommand(EditToolHandler handler2,
EditBlackboard editBlackboard,
Point point)
AddVertexCommand
public AddVertexCommand(EditToolHandler handler2,
EditBlackboard bb,
provider,
Point point,
boolean useSnapping)
- New instance is created. The animation is not shown.
- Parameters:
useSnapping
- TODO
rollback
public void rollback(IProgressMonitor monitor)
throws java.lang.Exception
- Throws:
java.lang.Exception
run
public void run(IProgressMonitor monitor)
throws java.lang.Exception
- Throws:
java.lang.Exception
getName
public java.lang.String getName()
getPointToAdd
public Point getPointToAdd()
- Returns:
- Returns the toAdd.
isShowAnimation
public boolean isShowAnimation()
setShowAnimation
public void setShowAnimation(boolean showAnimation)