Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:34 Go to next message
bunta Choudhary is currently offline bunta Choudhary
Messages: 39
Registered: December 2010
Member
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 17:37 Go to previous message
Miles Parker is currently offline Miles Parker
Messages: 1340
Registered: July 2009
Senior Member
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: Wed Sep 17 01:49:05 GMT 2014

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

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