Package ghidra.app.events
Class DualProgramLocationPluginEvent
- java.lang.Object
-
- ghidra.framework.plugintool.PluginEvent
-
- ghidra.app.events.DualProgramLocationPluginEvent
-
public final class DualProgramLocationPluginEvent extends PluginEvent
This plugin event class provides program location information for plugins that send information to two or more tools containing associated addresses.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMEName of this plugin event.-
Fields inherited from class ghidra.framework.plugintool.PluginEvent
EXTERNAL_SOURCE_NAME
-
-
Constructor Summary
Constructors Constructor Description DualProgramLocationPluginEvent(java.lang.String src, ProgramLocation loc, Program program)Construct a new DualProgramLocationPluginEvent.DualProgramLocationPluginEvent(java.lang.String src, ProgramLocation loc, java.lang.String programName)Construct a new DualProgramLocationPluginEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProgramLocationgetLocation()Returns the ProgramLocation stored in this event.java.lang.StringgetProgramName()Returns the Program object that the location 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
Name of this plugin event.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DualProgramLocationPluginEvent
public DualProgramLocationPluginEvent(java.lang.String src, ProgramLocation loc, java.lang.String programName)Construct a new DualProgramLocationPluginEvent.- Parameters:
src- the name of the plugin that generated this event.loc- the ProgramLocation object that contains the new location.programName- the name of the program for which the loc object refers.
-
DualProgramLocationPluginEvent
public DualProgramLocationPluginEvent(java.lang.String src, ProgramLocation loc, Program program)Construct a new DualProgramLocationPluginEvent.- Parameters:
src- the name of the plugin that generated this event.loc- the ProgramLocation object that contains the new location.program- the program for which the loc object refers.
-
-
Method Detail
-
getLocation
public ProgramLocation getLocation()
Returns the ProgramLocation stored in this event.
-
getProgramName
public java.lang.String getProgramName()
Returns the Program object that the location refers to.
-
-