Package ghidra.app.events
Class ProgramVisibilityChangePluginEvent
- java.lang.Object
-
- ghidra.framework.plugintool.PluginEvent
-
- ghidra.app.events.ProgramVisibilityChangePluginEvent
-
public class ProgramVisibilityChangePluginEvent extends PluginEvent
Event for telling a tool (program mgr) to open a program
-
-
Field Summary
-
Fields inherited from class ghidra.framework.plugintool.PluginEvent
EXTERNAL_SOURCE_NAME
-
-
Constructor Summary
Constructors Constructor Description ProgramVisibilityChangePluginEvent(java.lang.String source, Program p, boolean isVisible)
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.boolean
isProgramVisible()
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 Detail
-
ProgramVisibilityChangePluginEvent
public ProgramVisibilityChangePluginEvent(java.lang.String source, Program p, boolean isVisible)
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.
-
isProgramVisible
public boolean isProgramVisible()
Returns true if program is currently in a visible state.
-
-