Package ghidra.app.events
Class OpenProgramPluginEvent
- java.lang.Object
-
- ghidra.framework.plugintool.PluginEvent
-
- ghidra.app.events.OpenProgramPluginEvent
-
public class OpenProgramPluginEvent extends PluginEvent
Event for telling a tool (program mgr) to open a programThis event shares a common tool-event name with the
OpenProgramPluginEvent
so that they have a single shared tool connection.
-
-
Field Summary
-
Fields inherited from class ghidra.framework.plugintool.PluginEvent
EXTERNAL_SOURCE_NAME
-
-
Constructor Summary
Constructors Constructor Description OpenProgramPluginEvent(java.lang.String source, Program p)
Constuct a new plugin event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Program
getProgram()
Return the program on this event.-
Methods inherited from class ghidra.framework.plugintool.PluginEvent
getDetails, getEventName, getSourceName, getToolEventName, getTriggerEvent, isToolEvent, lookupToolEventName, setSourceName, setTriggerEvent, toString
-
-
-
-
Constructor Detail
-
OpenProgramPluginEvent
public OpenProgramPluginEvent(java.lang.String source, Program p)
Constuct a new plugin event.- Parameters:
source
- name of the plugin that created this eventp
- the program associated with this event
-
-
Method Detail
-
getProgram
public Program getProgram()
Return the program on this event.- Returns:
- null if the event if for a program closing.
-
-