Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Mouse coordinates
Mouse coordinates [message #90012] Sat, 07 May 2005 08:28 Go to next message
Eclipse UserFriend
Originally posted by: danijel_zecevic.hotmail.com

Hello,

is there any posibility for a component (edit part) to know when mouse gets
ower it an the oordinates of the mouse when button is relesed.

Thank you,
Danijel
Re: Mouse coordinates [message #90027 is a reply to message #90012] Sat, 07 May 2005 13:01 Go to previous message
Eclipse UserFriend
Originally posted by: myersj.nospam.gmail.com

Danijel,

It depends on the type of GEF request that's coming in. Take a look at
the VE source in BorderLayoutEditPolicy and GridBagLayoutEditPolicy's
showLayoutTargetFeedback() methods. They get passed a GEF DropRequest,
which has a getLocation() method on it.

Hope this helps,
- Jeff

ddd wrote:
> Hello,
>
> is there any posibility for a component (edit part) to know when mouse gets
> ower it an the oordinates of the mouse when button is relesed.
>
> Thank you,
> Danijel
>
>
Re: Mouse coordinates [message #607358 is a reply to message #90012] Sat, 07 May 2005 13:01 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
Danijel,

It depends on the type of GEF request that's coming in. Take a look at
the VE source in BorderLayoutEditPolicy and GridBagLayoutEditPolicy's
showLayoutTargetFeedback() methods. They get passed a GEF DropRequest,
which has a getLocation() method on it.

Hope this helps,
- Jeff

ddd wrote:
> Hello,
>
> is there any posibility for a component (edit part) to know when mouse gets
> ower it an the oordinates of the mouse when button is relesed.
>
> Thank you,
> Danijel
>
>
Previous Topic:Mouse coordinates
Next Topic:IWAV0125E "DebugGraphics.NONE_OPTION" is too complicated
Goto Forum:
  


Current Time: Thu Apr 25 04:30:48 GMT 2024

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

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

Back to the top