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

java.lang.Object
  extended by AbstractDrawCommand
      extended by net.refractions.udig.tools.edit.commands.DrawEndPointsCommand

public class DrawEndPointsCommand
extends AbstractDrawCommand

Draws the two end points of the Shape provided by the Provider

Since:
1.1.0
Author:
jones

Constructor Summary
DrawEndPointsCommand(MouseTracker tracker,  provider)
           
 
Method Summary
  getProvider()
           
 java.awt.Rectangle getValidArea()
           
 boolean isShowMouseOver()
          Returns true if the vertex should be filled when the mouse is over it.
 void run(IProgressMonitor monitor)
           
 void setProvider( provider)
           
 void setShowMouseOver(boolean showMouseOver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawEndPointsCommand

public DrawEndPointsCommand(MouseTracker tracker,
                             provider)
Parameters:
IBlockingProvider -
Method Detail

run

public void run(IProgressMonitor monitor)
         throws java.lang.Exception
Throws:
java.lang.Exception

getProvider

public  getProvider()
Returns:
Returns the IBlockingProvider.

setProvider

public void setProvider( provider)
Parameters:
IBlockingProvider - The IBlockingProvider to set.

isShowMouseOver

public boolean isShowMouseOver()
Returns true if the vertex should be filled when the mouse is over it.

Returns:
Returns true if the vertex should be filled when the mouse is over it.

setShowMouseOver

public void setShowMouseOver(boolean showMouseOver)
Parameters:
showMouseOver - true if vertex should be filled when mouse is over.

getValidArea

public java.awt.Rectangle getValidArea()