Skip to main content



      Home
Home » Modeling » Graphiti » Change mouse pointer on hover over
Change mouse pointer on hover over [message #949928] Fri, 19 October 2012 08:56 Go to next message
Eclipse UserFriend
I would like to be able to change the mouse cursor to a cross-hairs whenever it is hovering over something that can start a connection (e.g. an anchor). I know there is a getSelectionInfoForShape that is called on hovering over a certain shape, so i could call the CreateConnectionFeature.canStartConnection() on that in order to change the cursor, but how can i tell when it is no longer hovering over that shape?

Any ideas? Thanks in advance!
Re: Change mouse pointer on hover over [message #958928 is a reply to message #949928] Fri, 26 October 2012 06:22 Go to previous messageGo to next message
Eclipse UserFriend
Jonathan,

this is currently not possible using Graphiti API. Technically one would
need a MouseMotiionListener registered on the involved Figures.

If you would like to see that possibility in a future version of Graphiti,
please open an enhancement bugzilla for this feature.

Michael
Re: Change mouse pointer on hover over [message #962887 is a reply to message #958928] Mon, 29 October 2012 07:59 Go to previous message
Eclipse UserFriend
Thanks, I may do that.
Previous Topic:Hooking into selections
Next Topic:GraphitiInternal.getEmfService()
Goto Forum:
  


Current Time: Wed Jul 23 10:13:13 EDT 2025

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

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

Back to the top