Class FSBUtils

java.lang.Object
ghidra.plugins.fsbrowser.FSBUtils

public class FSBUtils extends Object
FileSystemBrowserPlugin utility methods that other things might find useful.
  • Constructor Details

    • FSBUtils

      public FSBUtils()
  • Method Details

    • getProgramManager

      public static ProgramManager getProgramManager(PluginTool tool, boolean allowUserPrompt)
      Returns the ProgramManager associated with this fs browser plugin.

      When this FS Browser plugin is part of the front-end tool, this will search for an open CodeBrowser tool that can be used to handle programs.

      When this FS Browser plugin is part of a CodeBrowser tool, this will just return the local ProgramManager / CodeBrowser.

      Parameters:
      tool - The plugin tool.
      allowUserPrompt - boolean flag to allow this method to query the user to select a CodeBrowser.
      Returns:
      null if front-end and no open CodeBrowser, otherwise returns the local CodeBrowser ProgramManager service.
    • getRunningProgramManagerTools

      public static List<PluginTool> getRunningProgramManagerTools(PluginTool tool)