Class AbstractSelectionPluginEvent

java.lang.Object
ghidra.framework.plugintool.PluginEvent
ghidra.app.events.AbstractSelectionPluginEvent
Direct Known Subclasses:
ProgramSelectionPluginEvent

public abstract class AbstractSelectionPluginEvent extends PluginEvent
Plugin event generated when the selection in a program changes.
  • Constructor Details

    • AbstractSelectionPluginEvent

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

    • getSelection

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

      public Program getProgram()
      Get the program that the selection refers to.
      Returns:
      the program
    • getDetails

      protected String getDetails()
      Overrides:
      getDetails in class PluginEvent