net.refractions.udig.tools.edit.commands
Class SelectHoleCommand
java.lang.Object
AbstractCommand
net.refractions.udig.tools.edit.commands.SelectHoleCommand
public class SelectHoleCommand
- extends AbstractCommand
Selects the hole (sets the handler's current shape) that the mouse is over or
nothing if mouse is not over a hole.
- Since:
- 1.1.0
- Author:
- jones
Method Summary |
boolean |
execute(IProgressMonitor monitor)
|
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 |
SelectHoleCommand
public SelectHoleCommand(EditToolHandler handler,
MapMouseEvent e)
getName
public java.lang.String getName()
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
execute
public boolean execute(IProgressMonitor monitor)
throws java.lang.Exception
- Throws:
java.lang.Exception