Package ghidra.util.task

# Interface SwingRunnable

All Superinterfaces:
  `MonitoredRunnable`

public interface SwingRunnable extends MonitoredRunnable
Runnable that has a method that may need to be run in the Swing AWT thread. Pass a SwingRunnable to the RunManager if follow on work needs to be done after the `run()` method completes.

See Also:
  - `RunManager.runNext(MonitoredRunnable, String)`
  - `RunManager.runNext(MonitoredRunnable, String, int)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `swingRun(boolean isCancelled)`
  Callback on the swing thread.

  ### Methods inherited from interface ghidra.util.task.MonitoredRunnable

  `monitoredRun`

- ## Method Details

  - ### swingRun

    void swingRun(boolean isCancelled)
    Callback on the swing thread.