Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Change the mouse cursor
Change the mouse cursor [message #277581] Mon, 13 December 2004 20:34 Go to next message
Eclipse UserFriend
Originally posted by: wayne.infodine.net

I would like to change the mouse cursor to the hour glass and back when
performing long performing actions (like opening a new window). How do I?

Thanx...
-Wayne
Re: Change the mouse cursor [message #277598 is a reply to message #277581] Tue, 14 December 2004 07:14 Go to previous messageGo to next message
Kevin Barnes is currently offline Kevin BarnesFriend
Messages: 174
Registered: July 2009
Senior Member
Wayne,
I'd recommend that you look at IProgressService. Sounds like you want to
use the following:
PlatformUI.getWorkbench().getProgressService().busyCursorWhi le(Runnable r);

HTH
Kevin



Wayne Miller wrote:
> I would like to change the mouse cursor to the hour glass and back when
> performing long performing actions (like opening a new window). How do I?
>
> Thanx...
> -Wayne
>
Re: Change the mouse cursor [message #277617 is a reply to message #277598] Tue, 14 December 2004 14:44 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Another option, if you're in an swt-only context, is to use
BusyIndicator.showWhile(Display, Runnable).

Grant

"Kevin Barnes" <krbarnes@ca.ibm.com> wrote in message
news:cpm3sp$lvo$1@www.eclipse.org...
>
> Wayne,
> I'd recommend that you look at IProgressService. Sounds like you want to
> use the following:
> PlatformUI.getWorkbench().getProgressService().busyCursorWhi le(Runnable
r);
>
> HTH
> Kevin
>
>
>
> Wayne Miller wrote:
> > I would like to change the mouse cursor to the hour glass and back when
> > performing long performing actions (like opening a new window). How do
I?
> >
> > Thanx...
> > -Wayne
> >
Previous Topic:Context menus in Table Header
Next Topic:Newbie menu question
Goto Forum:
  


Current Time: Sat Nov 09 06:58:44 GMT 2024

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

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

Back to the top