Skip to main content



      Home
Home » Eclipse Projects » GEF » Overriding of dragTracker objecting the selection of the Component
Overriding of dragTracker objecting the selection of the Component [message #696504] Thu, 14 July 2011 02:34 Go to next message
Eclipse UserFriend
I have a class
EllipticalShapeEditPart extends ShapeNodeEditPart
developed through GMF.
Now as soon as I override the method dragTracker , the component stopping moving or even I am not able to select the component.

How to ressolve the scenario.
Re: Overriding of dragTracker objecting the selection of the Component [message #701869 is a reply to message #696504] Mon, 25 July 2011 13:37 Go to previous message
Eclipse UserFriend
Hi,

GEF wants to consume mouse events. Sometimes you can get around that creatively, but I often end up simply implementing my more complex mouse handling in SWT. It works pretty well. You just translate the point from SWT to GEF API and then find the target figure within the layer.

HTH,

Miles
Previous Topic:Changing text flow background color
Next Topic:[Zest] Layout algorithms to resize parent GraphContainers
Goto Forum:
  


Current Time: Fri Apr 18 07:27:00 EDT 2025

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

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

Back to the top