Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Change the mouse cursor
Change the mouse cursor [message #277581] Mon, 13 December 2004 15: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 02:14 Go to previous messageGo to next message
Eclipse UserFriend
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 09:44 Go to previous message
Eclipse UserFriend
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: Fri May 09 18:29:29 EDT 2025

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

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

Back to the top