Package ghidra.plugins.fsbrowser
Class FSBUtils
java.lang.Object
ghidra.plugins.fsbrowser.FSBUtils
FileSystemBrowserPlugin utility methods that other things might find useful.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProgramManagergetProgramManager(PluginTool tool, boolean allowUserPrompt) Returns theProgramManagerassociated with this fs browser plugin.static List<PluginTool>
-
Constructor Details
-
FSBUtils
public FSBUtils()
-
-
Method Details
-
getProgramManager
Returns theProgramManagerassociated 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
-