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