Class ProgramOpenedPluginEvent

java.lang.Object
ghidra.framework.plugintool.PluginEvent
ghidra.app.events.ProgramOpenedPluginEvent

public class ProgramOpenedPluginEvent extends PluginEvent
Plugin event class for notification of programs being created, opened, or closed.
  • Constructor Details

    • ProgramOpenedPluginEvent

      public ProgramOpenedPluginEvent(String source, Program p)
      Construct a new plugin event.
      Parameters:
      source - name of the plugin that created this event
      p - the program associated with this event
  • Method Details

    • getProgram

      public Program getProgram()
      Returns the Program that has just been opened. This method can return null, but only if the program has been closed and is no longer in use which can't happen if the method is called during the original event notification.
      Returns:
      the Program that has just been analyzed for the first time.