Class ProgramActivatedPluginEvent


  • public class ProgramActivatedPluginEvent
    extends PluginEvent
    Plugin event class for notification of programs being created, opened, or closed.
    • Constructor Detail

      • ProgramActivatedPluginEvent

        public ProgramActivatedPluginEvent​(java.lang.String source,
                                           Program activeProgram)
        Construct a new plugin event.
        Parameters:
        source - name of the plugin that created this event
        activeProgram - the program associated with this event
    • Method Detail

      • getActiveProgram

        public Program getActiveProgram()
        Return the new activated program. May be null.
        Returns:
        null if the event if for a program closing.