Package qupath.lib.gui.viewer.tools
Class ExtendedPathTool
java.lang.Object
qupath.lib.gui.viewer.tools.ExtendedPathTool
- All Implemented Interfaces:
PathTool
-
Property Summary
PropertiesTypePropertyDescriptionProperty giving the icon that should be used for the toolProperty giving the name of the tool -
Method Summary
Modifier and TypeMethodDescriptionvoidderegisterTool(QuPathViewer viewer) Deregister the tool from the viewer.Property giving the icon that should be used for the toolProperty giving the name of the toolvoidregisterTool(QuPathViewer viewer) Register the tool on the viewer.
-
Property Details
-
name
- Specified by:
namePropertyin interfacePathTool- Returns:
- See Also:
-
icon
- Specified by:
iconPropertyin interfacePathTool- Returns:
- See Also:
-
-
Method Details
-
getAvailableTools
-
selectedTool
-
registerTool
Description copied from interface:PathToolRegister the tool on the viewer. This typically means adding a mouse listener. A tool should only be registered on one viewer at a time, and only one tool should be registered per viewer.- Specified by:
registerToolin interfacePathTool- Parameters:
viewer- the viewer for which this tool should be registered
-
deregisterTool
Description copied from interface:PathToolDeregister the tool from the viewer. It is essential that tools clean up properly and do not impact other tools that may be registered for the viewer later.- Specified by:
deregisterToolin interfacePathTool- Parameters:
viewer- the viewer from which this tool should be deregistered
-
nameProperty
Description copied from interface:PathToolProperty giving the name of the tool- Specified by:
namePropertyin interfacePathTool- Returns:
- the
nameproperty
-
iconProperty
Description copied from interface:PathToolProperty giving the icon that should be used for the tool- Specified by:
iconPropertyin interfacePathTool- Returns:
- the
iconproperty
-