Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » A standard BusyIndicator
A standard BusyIndicator [message #456295] Mon, 30 May 2005 09:37 Go to next message
hortiz Mising name is currently offline hortiz Mising nameFriend
Messages: 96
Registered: July 2009
Member
Hi,

In my application, some tasks require a cursor which indicates something
is running (as BusyIndicator does).

My problem is to create a standard BusyIndicator, which could be used for
all these tasks. Is it possible or am I obliged to implement a runnable
for each ?

Thanks
Helene
Re: A standard BusyIndicator [message #456318 is a reply to message #456295] Tue, 31 May 2005 08:36 Go to previous messageGo to next message
Stefan Pietsch is currently offline Stefan PietschFriend
Messages: 68
Registered: July 2009
Member
Hi Helene,

you have to implement a runnable for each task. But this is not so
complicated. You can use the following code:

BusyIndicator.showWhile(display, new Runnable() {
public void run() {
// do something
}
});

Bye Stefan

"hortiz" <hortiz@xxxxxxxx.xxx> schrieb im Newsbeitrag
news:5228f0e97490e307a350ab80e3caac1e$1@www.eclipse.org...
> Hi,
>
> In my application, some tasks require a cursor which indicates something
> is running (as BusyIndicator does).
>
> My problem is to create a standard BusyIndicator, which could be used for
> all these tasks. Is it possible or am I obliged to implement a runnable
> for each ?
>
> Thanks
> Helene
>
>
>
Re: A standard BusyIndicator [message #456320 is a reply to message #456318] Tue, 31 May 2005 09:09 Go to previous message
hortiz Mising name is currently offline hortiz Mising nameFriend
Messages: 96
Registered: July 2009
Member
Ok, thanks a lot Stefan.
Previous Topic:Updating a widget from a background running thread
Next Topic:about swt and JFace
Goto Forum:
  


Current Time: Thu Apr 25 08:42:10 GMT 2024

Powered by FUDForum. Page generated in 0.03370 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top