Absolute coordinates to container relative coordinates [message #909847] |
Fri, 07 September 2012 18:56  |
Eclipse User |
|
|
|
I am insisting in this question once in bugzilla (where I filed an enhancement https://bugs.eclipse.org/bugs/show_bug.cgi?id=389031), Michael answer suggests me that this is possible.
So given diagrameditor mouse coordinates how can I calculate the respective container relative coordinates at the moment of canMove/move invokation?
I've been watching to :
DiagramEditor#getMouseLocation
DiagramEditor#calculateRealMouseLocation(nativeLocation)
IPeLayoutService()#getLocationRelativeToDiagram()
But, or by my incompetence or something else I'm not figurering out how to do this.
Any hint??
Thanks in advance
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03689 seconds