Package ghidra.app.events
Class ProgramActivatedPluginEvent
- java.lang.Object
-
- ghidra.framework.plugintool.PluginEvent
-
- ghidra.app.events.ProgramActivatedPluginEvent
-
public class ProgramActivatedPluginEvent extends PluginEvent
Plugin event class for notification of programs being created, opened, or closed.
-
-
Field Summary
-
Fields inherited from class ghidra.framework.plugintool.PluginEvent
EXTERNAL_SOURCE_NAME
-
-
Constructor Summary
Constructors Constructor Description ProgramActivatedPluginEvent(java.lang.String source, Program activeProgram)
Construct a new plugin event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Program
getActiveProgram()
Return the new activated program.-
Methods inherited from class ghidra.framework.plugintool.PluginEvent
getDetails, getEventName, getSourceName, getToolEventName, getTriggerEvent, isToolEvent, lookupToolEventName, setSourceName, setTriggerEvent, toString
-
-
-
-
Constructor Detail
-
ProgramActivatedPluginEvent
public ProgramActivatedPluginEvent(java.lang.String source, Program activeProgram)
Construct a new plugin event.- Parameters:
source
- name of the plugin that created this eventactiveProgram
- the program associated with this event
-
-
Method Detail
-
getActiveProgram
public Program getActiveProgram()
Return the new activated program. May be null.- Returns:
- null if the event if for a program closing.
-
-