Connection onMouseOver? [message #709052] |
Wed, 03 August 2011 09:01  |
Eclipse User |
|
|
|
Hi,
having all the mouse and key handling encapsulated in Graphiti gives the users a fast start. But is it possible to change the (hidden) interaction concepts at all?
Example: For complex diagram layouts I want to have any connection show a different color/style, while the mouse is hovering over the connection line. This makes tracing the connection very comfortable. Can I do something like that in Graphiti? And if so, where to start?
Ciao, Michael
|
|
|
Re: Connection onMouseOver? [message #709161 is a reply to message #709052] |
Wed, 03 August 2011 11:15  |
Eclipse User |
|
|
|
Hi Michael,
you may have a look at org.eclipse.graphiti.ui.internal.parts.ConnectionEditPart. I think, you have add here a EditPolicy that handles the highlighting. EditPolicy is actually a GEF concept, and a similar forum entry can be found here.
Hope that helps.
Cheers,
Joerg
|
|
|
Powered by
FUDForum. Page generated in 0.04053 seconds