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.
        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.
        null if the event if for a program closing.