Class UISynchronizer

java.lang.Object
org.eclipse.swt.widgets.Synchronizer
org.eclipse.ui.internal.UISynchronizer

public class UISynchronizer extends Synchronizer
  • Field Details

    • lockListener

      protected UILockListener lockListener
    • isStarting

      protected boolean isStarting
      Indicates that the UI is in startup mode and that no non-workbench runnables should be invoked.
    • pendingStartup

      protected List<Runnable> pendingStartup
      List of non-workbench Runnables that need executing at some point in the future
    • startupThread

      public static final ThreadLocal<Boolean> startupThread
      Setting this variable to the value Boolean.TRUE will allow a thread to execute code during the startup sequence.
    • overrideThread

      public static final ThreadLocal<Boolean> overrideThread
  • Constructor Details

  • Method Details

    • started

      public void started()
    • asyncExec

      protected void asyncExec(Runnable runnable)
      Description copied from class: Synchronizer
      Causes the run() method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity. The caller of this method continues to run in parallel, and is not notified when the runnable has completed.
      Overrides:
      asyncExec in class Synchronizer
      Parameters:
      runnable - code to run on the user-interface thread.
      See Also:
    • syncExec

      public void syncExec(Runnable runnable)
      Description copied from class: Synchronizer
      Causes the run() method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity. The thread which calls this method is suspended until the runnable completes.
      Overrides:
      syncExec in class Synchronizer
      Parameters:
      runnable - code to run on the user-interface thread.
      See Also: