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