public class FeatureDrawingUtil extends Object
| Constructor and Description |
|---|
FeatureDrawingUtil(LayerNamePanelProxy layerNamePanelProxy) |
| Modifier and Type | Method and Description |
|---|---|
UndoableCommand |
createAddCommand(com.vividsolutions.jts.geom.Geometry geometry,
boolean rollingBackInvalidEdits,
LayerViewPanel layerViewPanel,
AbstractCursorTool tool)
The calling CursorTool should call #preserveUndoHistory; otherwise the
undo history will be (unnecessarily) truncated if a problem occurs.
|
void |
drawRing(com.vividsolutions.jts.geom.Polygon polygon,
boolean rollingBackInvalidEdits,
AbstractCursorTool tool,
LayerViewPanel panel) |
CursorTool |
prepare(AbstractCursorTool drawFeatureTool,
boolean allowSnapping)
Apply settings common to all feature-drawing tools.
|
public FeatureDrawingUtil(LayerNamePanelProxy layerNamePanelProxy)
public UndoableCommand createAddCommand(com.vividsolutions.jts.geom.Geometry geometry, boolean rollingBackInvalidEdits, LayerViewPanel layerViewPanel, AbstractCursorTool tool)
public CursorTool prepare(AbstractCursorTool drawFeatureTool, boolean allowSnapping)
public void drawRing(com.vividsolutions.jts.geom.Polygon polygon,
boolean rollingBackInvalidEdits,
AbstractCursorTool tool,
LayerViewPanel panel)
Copyright © 2015. All rights reserved.