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

java.lang.Object
  extended by AbstractCommand
      extended by 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

Constructor Summary
SelectHoleCommand(EditToolHandler handler, MapMouseEvent e)
           
 
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
 

Constructor Detail

SelectHoleCommand

public SelectHoleCommand(EditToolHandler handler,
                         MapMouseEvent e)
Method Detail

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