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
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

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

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.swt.custom
Class BusyIndicator


java.lang.Object
  extended by 
org.eclipse.swt.custom.BusyIndicator

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

BusyIndicator

public BusyIndicator()
Method Detail

showWhile

public static void showWhile(
Display display,
                             
Runnable runnable)
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.
Throws:
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