public class BusyIndicator
extends java.lang.Object
Constructor and Description |
---|
BusyIndicator() |
Modifier and Type | Method and Description |
---|---|
static void |
showWhile(Display display,
java.lang.Runnable runnable)
Runs the given
Runnable while providing
busy feedback using this busy indicator. |
public static void showWhile(Display display, java.lang.Runnable runnable)
Runnable
while providing
busy feedback using this busy indicator.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.java.lang.IllegalArgumentException
-
Copyright (c) EclipseSource and others 2002, 2016.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0