|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.ui.util.timer.Yield
public class Yield
Utility class for thread execution related to Display
.
Constructor Summary | |
---|---|
Yield()
|
Method Summary | |
---|---|
static void |
forWhile(int duration)
Call readAndDispatch method of the current Display while the specified duration |
static void |
initialize()
Initialize method of this utility. |
static void |
once()
Call readAndDispatch method of the current Display. |
static Object |
syncInvoke(Method m,
Object o,
Object[] args)
Invoke method (m.invoke(o, args)) by using syncExec method of current Display. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Yield()
Method Detail |
---|
public static void initialize()
public static Object syncInvoke(Method m, Object o, Object[] args) throws Exception
m
- target Method
o
- target Object
args
- target arguments
{@link
- Exception}
Exception
Display
public static void forWhile(int duration)
duration
- target duration in msecpublic static void once()
Display
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |