|Re: DiagramEditor mouse over [message #1092071 is a reply to message #902982]
||Thu, 22 August 2013 09:40
| nicolas h
Registered: February 2011
Location: Grenoble, France
I unearth this topic because I need this functionality too.
More exactly, I understand the way of a MouseTrackListener applied on the control of the graphical viewer can notify when the mouse is over the diagram, but not on a specific element.
How to get this information ?
Apparently, it is not possible with the MouseTrackListener. I'm thinking of adding a MouseMoveListener of the graphicalViewer's control and then, thanks to the location of the mouse, retrieve the Graphiti pictogram element (I'm not sure, but I think there exists a method for this), and provide my own implementation to verify whether the notification refers to an over or an exit notification and what pictogram element is concerned.
Does a such implementation already exist ?
Thanks for you advice,
Powered by FUDForum
. Page generated in 0.01633 seconds