| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| pack-priv static final String | |
| private static final AtomicInteger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public static <V, E extends Exception> CompletableFuture | compute(SwtCallable<V, E>
the action that should be executed and produces a result of the
action)CompletableFutureIf called from a |
| public static <V, E extends Exception> CompletableFuture | compute(SwtCallable<V, E>
the action that should be executed and produces a result of
the action, Executor CompletableFuturethe Executor to perform the computation in case this is
called from a executor)Display thread, passing a
Display will throw an
IllegalArgumentException as this will lead to a
blocking UI and violates the contract of this methodIf called from a |
| public static <E extends Exception> CompletableFuture | execute(SwtRunnable<E>
the action that should be executed and produces a result of the
action)CompletableFutureIf called from a |
| public static <E extends Exception> CompletableFuture | execute(SwtRunnable<E>
the action that should be executed and produces a result of
the action, Executor CompletableFuturethe Executor to perform the computation in case this is
called from a executor)Display thread, passing a
Display will throw an
IllegalArgumentException as this will lead to a
blocking UI and violates the contract of this methodIf called from a |
| private static Integer | |
| private static void | setCursorAndId(Shell shell, Cursor cursor, Integer busyId)
Paranoia code to make sure we don't break UI because of one shell disposed, see bug 532632 comment 20 |
| public static void | showWhile(Display
the display on which the busy feedback should be
displayed. If the display is null, the Display for the current
thread will be used. If there is no Display for the current thread,
the runnable code will be executed and no busy feedback will be displayed. display, Runnable the runnable for which busy feedback is to be shown.
Must not be null. runnable)Runs the given |
| BUSY_CURSOR | back to summary |
|---|---|
| pack-priv static final String BUSY_CURSOR | |
| BUSYID_NAME | back to summary |
|---|---|
| pack-priv static final String BUSYID_NAME | |
| nextBusyId | back to summary |
|---|---|
| private static final AtomicInteger nextBusyId | |
| BusyIndicator | back to summary |
|---|---|
| public BusyIndicator() | |
| clearBusyCursor | back to summary |
|---|---|
| private static void clearBusyCursor(Display display, Integer busyId) | |
| compute | back to summary |
|---|---|
| public static <V, E extends Exception> CompletableFuture If called from a
| |
| compute | back to summary |
|---|---|
| public static <V, E extends Exception> CompletableFuture If called from a
| |
| execute | back to summary |
|---|---|
| public static <E extends Exception> CompletableFuture If called from a
| |
| execute | back to summary |
|---|---|
| public static <E extends Exception> CompletableFuture If called from a
| |
| setBusyCursor | back to summary |
|---|---|
| private static Integer setBusyCursor(Display display) | |
| setCursorAndId | back to summary |
|---|---|
| private static void setCursorAndId(Shell shell, Cursor cursor, Integer busyId) Paranoia code to make sure we don't break UI because of one shell disposed, see bug 532632 comment 20 | |
| showWhile | back to summary |
|---|---|
| public static void showWhile(Display display, Runnable runnable) Runs the given
| |