Class CloseProgramPluginEvent


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

    This event shares a common tool-event name with the OpenProgramPluginEvent so that they have a single shared tool connection.

    • Constructor Detail

      • CloseProgramPluginEvent

        public CloseProgramPluginEvent​(java.lang.String source,
                                       Program p,
                                       boolean ignoreChanges)
        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.
      • ignoreChanges

        public boolean ignoreChanges()