public class RunnableManager extends Object
Runnable
, i.e. frequent calls of the executeAsync(Runnable)
with long running Runnable
s will not result in each Runnable
being called.
This is useful, for instance, if the same Runnable
is
submitted multiple times unnecessarily.Constructor and Description |
---|
RunnableManager(org.eclipse.swt.widgets.Display display)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
executeAsync(Runnable runnable)
Execute the given
Runnable via Display.asyncExec(Runnable) . |
org.eclipse.swt.widgets.Display |
getDisplay() |
Copyright © 2018. All rights reserved.