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()
      Return the new activated program. May be null.
      Returns:
      null if the event if for a program closing.