Class DualProgramLocationPluginEvent


  • public final class DualProgramLocationPluginEvent
    extends PluginEvent
    This plugin event class provides program location information for plugins that send information to two or more tools containing associated addresses.
    • Field Detail

      • NAME

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

      • DualProgramLocationPluginEvent

        public DualProgramLocationPluginEvent​(java.lang.String src,
                                              ProgramLocation loc,
                                              java.lang.String programName)
        Construct a new DualProgramLocationPluginEvent.
        Parameters:
        src - the name of the plugin that generated this event.
        loc - the ProgramLocation object that contains the new location.
        programName - the name of the program for which the loc object refers.
      • DualProgramLocationPluginEvent

        public DualProgramLocationPluginEvent​(java.lang.String src,
                                              ProgramLocation loc,
                                              Program program)
        Construct a new DualProgramLocationPluginEvent.
        Parameters:
        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.
      • getProgramName

        public java.lang.String getProgramName()
        Returns the Program object that the location refers to.