org.eclipse.swt.custom
Class BusyIndicator

java.lang.Object
  |
  +--org.eclipse.swt.custom.BusyIndicator

public class BusyIndicator
extends Object

Unsafe: Support for showing a Busy Cursor during a long running process.


Field Summary
(package private) static String BUSYID_NAME
           
(package private) static int nextBusyId
           
 
Constructor Summary
BusyIndicator()
          Suppressed:
 
Method Summary
static void showWhile(Display display, Runnable runnable)
          Suppressed: Runs the given Runnable while providing busy feedback using this busy indicator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nextBusyId

static int nextBusyId

BUSYID_NAME

static final String BUSYID_NAME
Constructor Detail

BusyIndicator

public BusyIndicator()
Suppressed:

Method Detail

showWhile

public static void showWhile(Display display,
                             Runnable runnable)
Suppressed: Runs the given Runnable while providing busy feedback using this busy indicator.

Parameters:
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.
runnable - the runnable for which busy feedback is to be shown. Must not be null.
See Also:
showWhile(org.eclipse.swt.widgets.Display, java.lang.Runnable)


comments?