Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Platform
Release 3.5

Class BusyIndicator

  extended by 

public class BusyIndicator
extends Object

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

See Also:
BusyIndicator snippets, Sample code and further information

Constructor Summary
BusyIndicator ()
Method Summary
static void showWhile ( Display display, Runnable runnable)
          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

Constructor Detail


public BusyIndicator()
Method Detail


public static void showWhile(
Display display,
Runnable runnable)
Runs the given 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.
IllegalArgumentException -
  • ERROR_NULL_ARGUMENT - if the runnable is null

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire