| [GMF] draw2d RelativeBendpoint computation changes from GMF Runtime 1.3.0 [message #787183] |
Tue, 31 January 2012 03:45  |
Eclipse User |
|
|
|
Hi,
I have a GMF based product which works from Eclipse 3.3 to latest
Eclipse. With a gmf diagram done on Eclipse 3.3 (with GMF Runtime
1.0.102 see
http://www.eclipse.org/modeling/gmp/development/releases.php) where some
Nodes have borderedNodes and these borderedNodes are connected with
rectilinear connections.
When opening these diagrams from Eclipse 3.5 or a newer release (since
GMF Runtime 1.3.0), the draw2d connection contains more bendpoints than
displayed on Eclipse 3.3 for some edges.
When I look at some GMF changes since, I see
ConnectionEditPart.refreshBendpoints() whose draw2d RelativeBendpoint
weight computation has changed (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=231365).
Consequently for a same list of GMF RelativeBendpoint I have different
draw2d RelativeBendpoint (the weight) between Eclipse 3.3 and Eclipse
3.5 then the final computed pointList is different (which add new points
in the PolylineConnection).
There is also the RectilinearRouter which has a lot of changed between
Eclipse 3.3 and 3.5, and replacing the RectilinearRouter of 3.5 by that
of 3.3 fix the issue. But I can't know if it is a issue cause by the
change of ConnectionEditPart.refreshBendpoints() or a bug in the
RectilinearRouter which lacks tolerance in the
RectilinearRouter.routLine() method when calling
OrthogonalRouterUtilities.isRectilinear(newLine).
Best Regards.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03098 seconds