Package ghidra.app.events
Class ProgramHighlightPluginEvent
- java.lang.Object
-
- ghidra.framework.plugintool.PluginEvent
-
- ghidra.app.events.ProgramHighlightPluginEvent
-
public final class ProgramHighlightPluginEvent extends PluginEvent
Plugin event generated when the highlight in a program changes.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAME-
Fields inherited from class ghidra.framework.plugintool.PluginEvent
EXTERNAL_SOURCE_NAME
-
-
Constructor Summary
Constructors Constructor Description ProgramHighlightPluginEvent(java.lang.String src, ProgramSelection hl, Program program)Construct a new event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProgramSelectiongetHighlight()Returns the program selection contained in this event.ProgramgetProgram()Returns the Program object that the highlight refers to.-
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
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProgramHighlightPluginEvent
public ProgramHighlightPluginEvent(java.lang.String src, ProgramSelection hl, Program program)Construct a new event.- Parameters:
src- name of the plugin that generated the eventhl- Program selection containing the selected address set.program- program being highlighted
-
-
Method Detail
-
getHighlight
public ProgramSelection getHighlight()
Returns the program selection contained in this event.- Returns:
- ProgramSelection contained in this event.
-
getProgram
public Program getProgram()
Returns the Program object that the highlight refers to.
-
-