Class PluginToolAccessUtils

java.lang.Object
ghidra.framework.plugintool.PluginToolAccessUtils

public class PluginToolAccessUtils extends Object
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 Details

    • dispose

      public static void dispose(PluginTool tool)
      Disposes the tool.
      Parameters:
      tool - the tool to dispose
    • canClose

      public static boolean canClose(PluginTool tool)
      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