Package ghidra.app.events
Class CloseProgramPluginEvent
java.lang.Object
ghidra.framework.plugintool.PluginEvent
ghidra.app.events.CloseProgramPluginEvent
Event for telling a tool to close a program
-
Field Summary
Fields inherited from class ghidra.framework.plugintool.PluginEvent
EXTERNAL_SOURCE_NAME
-
Constructor Summary
ConstructorDescriptionCloseProgramPluginEvent
(String source, Program p, boolean ignoreChanges) Construct a new plugin event. -
Method Summary
Modifier and TypeMethodDescriptionReturn the program on this event.boolean
Methods inherited from class ghidra.framework.plugintool.PluginEvent
getDetails, getEventName, getSourceName, getToolEventName, getTriggerEvent, isToolEvent, lookupToolEventName, setSourceName, setTriggerEvent, toString
-
Constructor Details
-
CloseProgramPluginEvent
Construct a new plugin event.- Parameters:
source
- name of the plugin that created this eventp
- the program associated with this eventignoreChanges
- true to ignore changes
-
-
Method Details
-
getProgram
Return the program on this event.- Returns:
- null if the event if for a program closing.
-
ignoreChanges
public boolean ignoreChanges()
-