Package ghidra.plugins.fsbrowser
Class FSBUtils
- java.lang.Object
-
- ghidra.plugins.fsbrowser.FSBUtils
-
public class FSBUtils extends java.lang.ObjectFileSystemBrowserPluginutility methods that other things might find useful.
-
-
Constructor Summary
Constructors Constructor Description FSBUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProgramManagergetProgramManager(PluginTool tool, boolean allowUserPrompt)Returns theProgramManagerassociated with this fs browser plugin.static java.util.List<PluginTool>getRunningProgramManagerTools(PluginTool tool)
-
-
-
Method Detail
-
getProgramManager
public static ProgramManager getProgramManager(PluginTool tool, boolean allowUserPrompt)
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
public static java.util.List<PluginTool> getRunningProgramManagerTools(PluginTool tool)
-
-