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.
  • Constructor Details

    • ProgramActivatedPluginEvent

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

    • getActiveProgram

      public Program getActiveProgram()
      Returns the Program that has is being activated. This method can return null, but it is unlikely. It will only return null if the program has been closed and is no longer in use.
      Returns:
      the Program that has just been analyzed for the first time.