Package ghidra.app.events
Class ProgramSelectionPluginEvent
- java.lang.Object
-
- ghidra.framework.plugintool.PluginEvent
-
- ghidra.app.events.ProgramSelectionPluginEvent
-
public final class ProgramSelectionPluginEvent extends PluginEvent
Plugin event generated when the selection in a program changes.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
The name of this plugin event.-
Fields inherited from class ghidra.framework.plugintool.PluginEvent
EXTERNAL_SOURCE_NAME
-
-
Constructor Summary
Constructors Constructor Description ProgramSelectionPluginEvent(java.lang.String src, ProgramSelection sel, Program program)
Construct a new plugin event
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getDetails()
Program
getProgram()
Returns the Program object that the selection refers to.ProgramSelection
getSelection()
Returns the program selection contained in this event.-
Methods inherited from class ghidra.framework.plugintool.PluginEvent
getEventName, getSourceName, getToolEventName, getTriggerEvent, isToolEvent, lookupToolEventName, setSourceName, setTriggerEvent, toString
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
The name of this plugin event.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProgramSelectionPluginEvent
public ProgramSelectionPluginEvent(java.lang.String src, ProgramSelection sel, Program program)
Construct a new plugin event- Parameters:
src
- the name of the plugin that generated this eventsel
- the program selectionprogram
- the program associated with this event
-
-
Method Detail
-
getSelection
public ProgramSelection getSelection()
Returns the program selection contained in this event.- Returns:
- ProgramSelection the program selection in this event.
-
getProgram
public Program getProgram()
Returns the Program object that the selection refers to.
-
getDetails
protected java.lang.String getDetails()
- Overrides:
getDetails
in classPluginEvent
-
-