Package ghidra.app.events
Class AbstractLocationPluginEvent
java.lang.Object
ghidra.framework.plugintool.PluginEvent
ghidra.app.events.AbstractLocationPluginEvent
- Direct Known Subclasses:
ProgramLocationPluginEvent
-
Field Summary
Fields inherited from class ghidra.framework.plugintool.PluginEvent
EXTERNAL_SOURCE_NAME
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractLocationPluginEvent
(String sourceName, String eventName, ProgramLocation location, Program program) Construct a new event -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Get the location stored in this event.Get the program that the location refers to.Methods inherited from class ghidra.framework.plugintool.PluginEvent
getEventName, getSourceName, getToolEventName, getTriggerEvent, isToolEvent, lookupToolEventName, setSourceName, setTriggerEvent, toString
-
Constructor Details
-
AbstractLocationPluginEvent
protected AbstractLocationPluginEvent(String sourceName, String eventName, ProgramLocation location, Program program) Construct a new event- Parameters:
sourceName
- the name of the plugin that generated this event.eventName
- the name of the event typelocation
- the new locationprogram
- the program for which the location object refers.
-
-
Method Details
-
getLocation
Get the location stored in this event.- Returns:
- the location
-
getProgram
Get the program that the location refers to.- Returns:
- the program
-
getDetails
- Overrides:
getDetails
in classPluginEvent
-