net.refractions.udig.project.ui.tool
Interface ActionTool
- All Superinterfaces:
- Tool
- All Known Implementing Classes:
- AbstractActionTool
public interface ActionTool
- extends Tool
A tool that performs an action when the tool button is pressed.
An example is a zoom to extent button. An action button is not modal. Like other tools an action
tool should not be instantiated.
Must have a public default constructor.
- Since:
- 0.3
- Author:
- jeichar
- See Also:
AbstractTool
,
Tool
Method Summary |
void |
run()
Called when tool button is pressed. |
run
void run()
- Called when tool button is pressed. If false the tool is set as inactive and deregistered
with the component.