Class SpecExtensionPanel.ChangeExtensionTask

  • All Implemented Interfaces:
    MonitoredRunnable
    Enclosing class:
    SpecExtensionPanel

    public class SpecExtensionPanel.ChangeExtensionTask
    extends Task
    Task for applying any accumulated changes in the list of CompilerElements for this Panel to the Program.
    • Constructor Detail

      • ChangeExtensionTask

        public ChangeExtensionTask()
    • Method Detail

      • run

        public void run​(TaskMonitor monitor)
        Description copied from class: Task
        This is the method that will be called to do the work

        Note: The run(TaskMonitor) method should not make any calls directly on Swing components, as these calls are not thread safe. Place Swing calls in a Runnable, then call Swing.runLater(Runnable) or Swing.runNow(Runnable)to schedule the Runnable inside of the AWT Event Thread.

        Specified by:
        run in class Task
        Parameters:
        monitor - The TaskMonitor that will monitor the executing Task