|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.egf.common.progress.ProgressReporter
public class ProgressReporter
A runner that executes runnable with progress reporting support.
Field Summary | |
---|---|
static int |
TASK_DEFAULT_TICKS_COUNT
An executed task default ticks count (in terms of reporting). |
Constructor Summary | |
---|---|
ProgressReporter()
|
Method Summary | |
---|---|
static void |
asyncExec(IProgressRunnable runnable_p)
Causes the IProgressRunnable.run(IProgressMonitor) method of the given runnable to be invoked
by an eclipse job at the next reasonable opportunity. |
static boolean |
syncExec(IProgressRunnable runnable_p,
IProgressMonitor progressMonitor_p)
Causes the IProgressRunnable.run(IProgressMonitor) method of the given runnable to be invoked
by the calling thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TASK_DEFAULT_TICKS_COUNT
Constructor Detail |
---|
public ProgressReporter()
Method Detail |
---|
public static void asyncExec(IProgressRunnable runnable_p)
IProgressRunnable.run(IProgressMonitor)
method of the given runnable to be invoked
by an eclipse job at the next reasonable opportunity. The caller continues to run in parallel,
and is not notified when the runnable has completed.
runnable_p
- syncExec(IProgressRunnable, IProgressMonitor)
public static boolean syncExec(IProgressRunnable runnable_p, IProgressMonitor progressMonitor_p)
IProgressRunnable.run(IProgressMonitor)
method of the given runnable to be invoked
by the calling thread. This one is suspended until the runnable completes.
runnable_p
- progressMonitor_p
- null to disable progress reporting.asyncExec(IProgressRunnable)
|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.