Class ProgramVisibilityChangePluginEvent


  • public class ProgramVisibilityChangePluginEvent
    extends PluginEvent
    Event for telling a tool (program mgr) to open a program
    • Constructor Detail

      • ProgramVisibilityChangePluginEvent

        public ProgramVisibilityChangePluginEvent​(java.lang.String source,
                                                  Program p,
                                                  boolean isVisible)
        Constuct a new plugin event.
        Parameters:
        source - name of the plugin that created this event
        p - the program associated with this event
    • Method Detail

      • getProgram

        public Program getProgram()
        Return the program on this event.
        Returns:
        null if the event if for a program closing.
      • isProgramVisible

        public boolean isProgramVisible()
        Returns true if program is currently in a visible state.