Package ghidra.framework.plugintool
Class PluginToolAccessUtils
java.lang.Object
ghidra.framework.plugintool.PluginToolAccessUtils
Utility class to provide access to non-public methods on PluginTool. There are a number of
methods that internal classes need access to but we don't want on the public interface of
PluginTool.This is a stopgap approach until we clean up the package structure for tool related
classes and interfaces. This class should only be used by internal tool manager classes.
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canClose
(PluginTool tool) Returns true if the tool can be closed.static void
dispose
(PluginTool tool) Disposes the tool.
-
Method Details
-
dispose
Disposes the tool.- Parameters:
tool
- the tool to dispose
-
canClose
Returns true if the tool can be closed. Note this does not handle any data saving. It only checks that there are no tasks running and the plugins can be closed.- Parameters:
tool
- the tool to close- Returns:
- true if the tool can be closed
-