Super class for edit tools. This class delegates to the EditToolHandler which must be initialized by
the subclass during construction.
author: jones since: 1.1.0
Returns the ID of the tool as declared in the plugin.xml. The plugin's id must be appended to the
id. For example if the id of the tool is "polygon" and the id of the containing plugin is "net.refractions.udig.tool"
then the id this method will return is "net.refractions.udig.tool.polygon"
the ID of the tool as declared in the plugin.xml
Initializes the list of Behaviours to run when the current edit has been accepted.
Acceptance is signalled by a double click or the Enter key
Parameters: acceptBehaviours - an empty list
Initializes the list of
EnablementBehaviour s that are ran to determine if the tool is enabled given an
event. For example if the mouse cursor is outside the valid bounds of a CRS for a layer an EnablementBehaviour might
signal that editing is illegal and provide a message for the user indicating why.
Parameters: enablementBehaviours - an empty list
Initializes the Event Behaviours that are run when an event occurs. Since this can be complex a helper
class is provided to build the complex datastructure of Behaviours.
See Also:EditToolConfigurationHelper Parameters: helper - a helper for constructing the complicated structure of EventBehaviours.