Package ghidra.app.events
Class ExternalProgramSelectionPluginEvent
- java.lang.Object
-
- ghidra.framework.plugintool.PluginEvent
-
- ghidra.app.events.ExternalProgramSelectionPluginEvent
-
public final class ExternalProgramSelectionPluginEvent extends PluginEvent
Plugin event generated when a tool receives an ProgramSelectionToolEvent; the selection in the external tool has changed.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMEThe name of this plugin event.static java.lang.StringTOOL_EVENT_NAME-
Fields inherited from class ghidra.framework.plugintool.PluginEvent
EXTERNAL_SOURCE_NAME
-
-
Constructor Summary
Constructors Constructor Description ExternalProgramSelectionPluginEvent(java.lang.String src, ProgramSelection sel, Program program)Construct a new event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProgramgetProgram()Returns the Program object that the selection refers to.ProgramSelectiongetSelection()Get the selection for this event.-
Methods inherited from class ghidra.framework.plugintool.PluginEvent
getDetails, 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
-
TOOL_EVENT_NAME
public static final java.lang.String TOOL_EVENT_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExternalProgramSelectionPluginEvent
public ExternalProgramSelectionPluginEvent(java.lang.String src, ProgramSelection sel, Program program)Construct a new event.- Parameters:
src- source of this eventsel- selectionprogram- program that is open
-
-
Method Detail
-
getSelection
public ProgramSelection getSelection()
Get the selection for this event.
-
getProgram
public Program getProgram()
Returns the Program object that the selection refers to.
-
-