Class ExternalProgramLocationPluginEvent

  • public final class ExternalProgramLocationPluginEvent
    extends PluginEvent
    Plugin event that is generated when a tool receives an external ProgramLocationToolEvent.
    • Field Detail

      • NAME

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

      • ExternalProgramLocationPluginEvent

        public ExternalProgramLocationPluginEvent​(java.lang.String src,
                                                  ProgramLocation loc,
                                                  Program program)
        Construct a new ProgramLocationEvent.
        src - the name of the plugin that generated this event.
        loc - the ProgramLocation object that contains the new location.
        program - the Program for which the loc object refers.
    • Method Detail

      • getLocation

        public ProgramLocation getLocation()
        Returns the ProgramLocation stored in this event.
      • getProgram

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