This is a Stategy object for the (@link net.refractions.udig.tools.edit.latest.EditToolHandler} behaviour.
Each Behaviour is valid in a particular context and will be run by the
(@link net.refractions.udig.tools.edit.latest.EditToolHandler} if the isValid method returns true.
author: jones since: 1.1.0
The action to be performed by this Behaviour. This action takes place in the event thread so it must
perform quickly.
Parameters: handler - handler that calls this Behaviour Command that will be executed in order to perform the behaviour
This method is called if an exception occurs during the execution of the run method.
This method should:
Rollback the changes made during the run method
Log the error in the plugin's log
Parameters: error - Error that occurred Parameters: command - Command retrieved from getCommandMethod. May be null if exception occurred whileexecuting getCommand();
Called to determine whether this Behaviour is applicable and should be run.
Parameters: handler - handler that calls this Behaviour true if this mode is applicable and should be run.