Class DisplayRealm
java.lang.Object
org.eclipse.core.databinding.observable.Realm
org.eclipse.jface.databinding.swt.DisplayRealm
- Since:
- 1.7
-
Method Summary
Modifier and TypeMethodDescriptionvoidCauses therun()method of the runnable to be invoked from within this realm at the next reasonable opportunity.booleanstatic RealmReturns the realm representing the UI thread for the given display.inthashCode()booleanvoidCauses therun()method of the runnable to be invoked from within this realm after the specified number of milliseconds have elapsed.Methods inherited from class org.eclipse.core.databinding.observable.Realm
exec, getDefault, runWithDefault, safeRun, setDefault, syncExec
-
Method Details
-
getRealm
Returns the realm representing the UI thread for the given display.- Parameters:
display- the display to get realm for- Returns:
- the realm representing the UI thread for the given display
-
isCurrent
public boolean isCurrent() -
asyncExec
Description copied from class:RealmCauses therun()method of the runnable to be invoked from within this realm at the next reasonable opportunity. The caller of this method continues to run in parallel, and is not notified when the runnable has completed.If the given runnable is an instance of
ISafeRunnable, its exception handler method will be called if any exceptions occur while running it. Otherwise, the exception will be logged.Subclasses should use
Realm.safeRun(Runnable)to run the runnable. -
timerExec
Description copied from class:RealmCauses therun()method of the runnable to be invoked from within this realm after the specified number of milliseconds have elapsed. If milliseconds is less than zero, the runnable is not executed. The caller of this method continues to run in parallel, and is not notified when the runnable has completed.If the given runnable is an instance of
ISafeRunnable, its exception handler method will be called if any exceptions occur while running it. Otherwise, the exception will be logged.Subclasses should use
Realm.safeRun(Runnable)to run the runnable. -
hashCode
public int hashCode() -
equals
-