Class ExternalProgramSelectionPluginEvent


  • public final class ExternalProgramSelectionPluginEvent
    extends PluginEvent
    Plugin event generated when a tool receives an ProgramSelectionToolEvent; the selection in the external tool has changed.
    • Field Detail

      • NAME

        public static final java.lang.String NAME
        The name of this plugin event.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ExternalProgramSelectionPluginEvent

        public ExternalProgramSelectionPluginEvent​(java.lang.String src,
                                                   ProgramSelection sel,
                                                   Program program)
        Construct a new event.
        Parameters:
        src - source of this event
        sel - selection
        program - program that is open
    • Method Detail

      • getSelection

        public ProgramSelection getSelection()
        Get the selection for this event.
      • getProgram

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