Class ProgramAddedToPluginEvent

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

public class ProgramAddedToPluginEvent extends PluginEvent
Plugin event class for notification of an "Add To Program" occurring
  • Constructor Details

    • ProgramAddedToPluginEvent

      public ProgramAddedToPluginEvent(String source, Program p, boolean analyze)
      Parameters:
      source - name of the Plugin that created this event
      p - the Program associated with this event
      analyze - True if this even should lead to analysis; otherwise, false
  • Method Details

    • getProgram

      public Program getProgram()
      Returns the Program that has just been added to, or null if the method is called some time after the original event notification.
      Returns:
      the Program that has just been added to, or null if the method is called some time after the original event notification
    • analyze

      public boolean analyze()
      Returns whether or not to do analysis as a result this event.
      Returns:
      whether or not to do analysis as a result this event