| java.lang.Object net.refractions.udig.tools.edit.behaviour.DoubleClickRunAcceptBehaviour
DoubleClickRunAcceptBehaviour | public class DoubleClickRunAcceptBehaviour implements EventBehaviour(Code) | | Requirements:
- EventType==DOUBLE_CLICKED
- EditState==MODIFIED or CREATING
- no modifiers
- button1 clicked
- no buttons down
*
Action:
- Adds the point where double click occurs if addPoint is true. (Default behaviour)
Runs Accept Behaviours
- If current state is CREATING the changes state to MODIFYING
author: jones since: 1.1.0 |
addPoint | boolean addPoint(Code) | | |
isAddPoint | public boolean isAddPoint()(Code) | | Returns true if a point will be added at the location of the double click.
Returns true if a point will be added at the location of the double click. |
setAddPoint | public void setAddPoint(boolean addPoint)(Code) | | Sets the parameter of whether a point should be added at the location of the double click.
Parameters: addPoint - true if a point should be added at the location of the double click. |
|
|