net.refractions.udig.tools.edit.commands
Class DrawEditGeomsCommand
java.lang.Object
AbstractDrawCommand
net.refractions.udig.tools.edit.commands.DrawEditGeomsCommand
public class DrawEditGeomsCommand
- extends AbstractDrawCommand
Draws all the EditGeom
s on the provided
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 |
DrawEditGeomsCommand
public DrawEditGeomsCommand(EditToolHandler handler)
run
public void run(IProgressMonitor monitor)
throws java.lang.Exception
- Throws:
java.lang.Exception
setValid
public void setValid(boolean valid)
getCurrentShape
public PrimitiveShape getCurrentShape()
- Returns:
- Returns the currentShape.
setCurrentLocation
public boolean setCurrentLocation(Point l,
PrimitiveShape currentShape)
- Parameters:
l
- the current location of the mousecurrentShape
- The sub-shape of the geometry that is being editted.
- Returns:
- true if the new setting requires a repaint();
getValidArea
public java.awt.Rectangle getValidArea()
getColorizationStrategy
public StyleStrategy getColorizationStrategy()
- Returns the strategy object responsible for choosing the line and fill colors.