Class ProgramSelectionPluginEvent

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

public final class ProgramSelectionPluginEvent extends PluginEvent
Plugin event generated when the selection in a program changes.
  • Field Details

  • Constructor Details

    • ProgramSelectionPluginEvent

      public ProgramSelectionPluginEvent(String src, ProgramSelection sel, Program program)
      Construct a new plugin event
      Parameters:
      src - the name of the plugin that generated this event
      sel - the program selection
      program - the program associated with this event
  • Method Details

    • getSelection

      public ProgramSelection getSelection()
      Returns the program selection contained in this event.
      Returns:
      ProgramSelection the program selection in this event.
    • getProgram

      public Program getProgram()
      Returns the Program object that the selection refers to.
    • getDetails

      protected String getDetails()
      Overrides:
      getDetails in class PluginEvent