Package ghidra.app.events
Class AbstractSelectionPluginEvent
java.lang.Object
ghidra.framework.plugintool.PluginEvent
ghidra.app.events.AbstractSelectionPluginEvent
- Direct Known Subclasses:
ProgramSelectionPluginEvent
Plugin event generated when the selection in a program changes.
-
Field Summary
Fields inherited from class ghidra.framework.plugintool.PluginEvent
EXTERNAL_SOURCE_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractSelectionPluginEvent
(String sourceName, String eventName, ProgramSelection selection, Program program) Construct a new plugin event -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Get the program that the selection refers to.Get the program selection contained in this event.Methods inherited from class ghidra.framework.plugintool.PluginEvent
getEventName, getSourceName, getToolEventName, getTriggerEvent, isToolEvent, lookupToolEventName, setSourceName, setTriggerEvent, toString
-
Constructor Details
-
AbstractSelectionPluginEvent
public AbstractSelectionPluginEvent(String sourceName, String eventName, ProgramSelection selection, Program program) Construct a new plugin event- Parameters:
sourceName
- the name of the plugin that generated this eventeventName
- the name of the event typeselection
- the program selectionprogram
- the program associated with this event
-
-
Method Details
-
getSelection
Get the program selection contained in this event.- Returns:
- the program selection in this event.
-
getProgram
Get the program that the selection refers to.- Returns:
- the program
-
getDetails
- Overrides:
getDetails
in classPluginEvent
-