| net.refractions.udig.tools.edit.Activator
All known Subclasses: net.refractions.udig.tools.edit.activator.ResetHandlerActivator, net.refractions.udig.tools.edit.activator.EditStateListenerActivator, net.refractions.udig.tools.edit.activator.DrawEndPointsActivator, net.refractions.udig.tools.edit.activator.SetSnapBehaviourCommandHandlerActivator, net.refractions.udig.tools.edit.activator.ResetAllStateActivator, net.refractions.udig.tools.edit.activator.SetRenderingFilter, net.refractions.udig.tools.edit.activator.DrawGeomsActivator, net.refractions.udig.tools.edit.activator.DeleteGlobalActionSetterActivator, net.refractions.udig.tools.edit.activator.AdvancedBehaviourCommandHandlerActivator, net.refractions.udig.tools.edit.activator.GridActivator, net.refractions.udig.tools.edit.activator.DrawCurrentGeomVerticesActivator,
Activator | public interface Activator (Code) | | A safe runnable.
author: jones since: 1.1.0 |
activate | public void activate(EditToolHandler handler)(Code) | | The action to be performed by this activator when activating.
Parameters: handler - |
deactivate | public void deactivate(EditToolHandler handler)(Code) | | The action to be performed by this activator when deactivating.
Parameters: handler - |
handleActivateError | public void handleActivateError(EditToolHandler handler, Throwable error)(Code) | | This method is called if an exception occurs during the execution of the activate 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: activating - Indicates whether activator is being activated. |
handleDeactivateError | public void handleDeactivateError(EditToolHandler handler, Throwable error)(Code) | | This method is called if an exception occurs during the execution of the deactivate 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: activating - Indicates whether activator is being activated. |
|
|