Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Listening to Mouse Events inside Edit Parts
Listening to Mouse Events inside Edit Parts [message #201485] Tue, 01 November 2005 16:31 Go to next message
Eclipse UserFriend
Originally posted by: hash.ti.com

All,

I am trying to customize my tooltip based on the location of the mouse
over my edit part. Hence, I need to know what the current location of the
mouse is. Any ideas on how to do this?

Thank you,
Harsh
Re: Listening to Mouse Events inside Edit Parts [message #201531 is a reply to message #201485] Tue, 01 November 2005 21:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

Add a MouseMotionListener to your figure and then invoke setTooltip() with
the appropriate figure.

"Harsh" <hash@ti.com> wrote in message
news:998806ce63e18d1c869e873346050801$1@www.eclipse.org...
> All,
>
> I am trying to customize my tooltip based on the location of the mouse
> over my edit part. Hence, I need to know what the current location of the
> mouse is. Any ideas on how to do this?
>
> Thank you,
> Harsh
>
Re: Listening to Mouse Events inside Edit Parts [message #201632 is a reply to message #201531] Wed, 02 November 2005 13:54 Go to previous message
Eclipse UserFriend
Originally posted by: harsh.ti.com

Thank you Partik,

That's exactly what I did.

Regards,
Harsh
Previous Topic:Label TEXT
Next Topic:checkBox and event handling
Goto Forum:
  


Current Time: Sat Apr 27 01:27:15 GMT 2024

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

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

Back to the top