|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topbraidcomposer.core.util.ThreadUtil
public class ThreadUtil
| Constructor Summary | |
|---|---|
ThreadUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
cacheLabels(org.eclipse.core.runtime.IProgressMonitor monitor,
java.util.Iterator statements)
Can be used to populate the Labels cache so that they don't hang while a TableViewer is populated or sorted. |
static boolean |
runCancelable(java.lang.String error,
org.eclipse.jface.operation.IRunnableWithProgress runnable)
Runs a given Runnable in a parallel thread that can be canceled (with a hard stop) in a given progress dialog. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadUtil()
| Method Detail |
|---|
public static boolean cacheLabels(org.eclipse.core.runtime.IProgressMonitor monitor,
java.util.Iterator statements)
monitor - statements -
public static boolean runCancelable(java.lang.String error,
org.eclipse.jface.operation.IRunnableWithProgress runnable)
error - an error message to display in case something goes wrongrunnable - the Runnable that does the actual work
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||