Package org.eclipse.ui.internal
Class UISynchronizer
java.lang.Object
org.eclipse.swt.widgets.Synchronizer
org.eclipse.ui.internal.UISynchronizer
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanIndicates that the UI is in startup mode and that no non-workbench runnables should be invoked.protected UILockListenerstatic final ThreadLocal<Boolean> List of non-workbench Runnables that need executing at some point in the futurestatic final ThreadLocal<Boolean> Setting this variable to the valueBoolean.TRUEwill allow a thread to execute code during the startup sequence.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidCauses therun()method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity.voidstarted()voidCauses therun()method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity.
- 
Field Details- 
lockListener
- 
isStartingprotected boolean isStartingIndicates that the UI is in startup mode and that no non-workbench runnables should be invoked.
- 
pendingStartupList of non-workbench Runnables that need executing at some point in the future
- 
startupThreadSetting this variable to the valueBoolean.TRUEwill allow a thread to execute code during the startup sequence.
- 
overrideThread
 
- 
- 
Constructor Details- 
UISynchronizer
 
- 
- 
Method Details- 
startedpublic void started()
- 
asyncExecDescription copied from class:SynchronizerCauses therun()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:
- asyncExecin class- Synchronizer
- Parameters:
- runnable- code to run on the user-interface thread.
- See Also:
 
- 
syncExecDescription copied from class:SynchronizerCauses therun()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:
- syncExecin class- Synchronizer
- Parameters:
- runnable- code to run on the user-interface thread.
- See Also:
 
 
-