| java.lang.Object net.refractions.udig.tools.edit.behaviour.WriteChangesBehaviour
WriteChangesBehaviour | public class WriteChangesBehaviour implements Behaviour(Code) | | Creates a geometry from the currentGeom in the
EditToolHandler .
Requirements:
- handler.getCurrentGeom() != null
- EditManager has a edit feature and a edit layer
- Geometry can be assigned to feature's geometry
Action:
- Creates a geometry of the indicated type.
- Set the edit feature's default geometry to be the created geometry if it is not null
- Also writes the changes to other geoms in the blackboard. The type created for those depends
on the what the ShapeType of those geometries are.
author: jones since: 1.1.0 |
WriteChangesBehaviour | public WriteChangesBehaviour(Class<? extends Geometry> geomToCreate)(Code) | | Parameters: geomToCreate - must be polygon, point, multipoint, linestring or linearring |
setUpdateBlackboard | public void setUpdateBlackboard(boolean updateBlackboard)(Code) | | Parameters: updateBlackboard - The updateBlackboard to set. |
|
|