Package ghidra.plugins.fsbrowser
Class OpenWithTarget
java.lang.Object
ghidra.plugins.fsbrowser.OpenWithTarget
Represents a way to open a
DomainFile
in a ProgramManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List
<OpenWithTarget> getAll()
Returns a list of all running tools and tool templates that can be used to open a domainfile.static OpenWithTarget
getDefault
(PluginTool tool) Returns an OpenWithTarget, or null, that represents the specified tool's default ability to open aDomainFile
.getIcon()
getName()
getPm()
static OpenWithTarget
Returns an OpenWithTarget, or null, that represents a runningProgramManager
.void
open
(List<DomainFile> files) Opens the specified files, using whatever program manager / tool this instance represents.
-
Constructor Details
-
OpenWithTarget
-
-
Method Details
-
getAll
Returns a list of all running tools and tool templates that can be used to open a domainfile.- Returns:
- list of OpenWithTarget instances, maybe empty but not null
-
getDefault
Returns an OpenWithTarget, or null, that represents the specified tool's default ability to open aDomainFile
.- Parameters:
tool
- aPluginTool
- Returns:
- a
OpenWithTarget
, or null if the specified tool can't open a domain file
-
getRunningProgramManager
Returns an OpenWithTarget, or null, that represents a runningProgramManager
.- Parameters:
tool
- aPluginTool
- Returns:
- a
OpenWithTarget
, or null if there is no openProgramManager
-
getName
-
getPm
-
getIcon
-
open
Opens the specified files, using whatever program manager / tool this instance represents.The first item in the list of files will be focused / made visible, the other items in the list will be opened but not focused.
- Parameters:
files
-DomainFile
s to open
-