Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » [GMF] draw2d RelativeBendpoint computation changes from GMF Runtime 1.3.0
[GMF] draw2d RelativeBendpoint computation changes from GMF Runtime 1.3.0 [message #787183] Tue, 31 January 2012 08:45 Go to next message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
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.
Re: [GMF] draw2d RelativeBendpoint computation changes from GMF Runtime 1.3.0 [message #787428 is a reply to message #787183] Tue, 31 January 2012 15:12 Go to previous message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
For better understanding, I have attached screenshots of part of my
diagram, the diag_3.3_RectilinearRouting.png is what I get on Eclipse
3.3, changing the routing style to oblique I have what is displayed on
diag_3.3_ObliqueRouting.png and on Eclipse 3.5 I have what is displayed
on diag_3.5_RectilinearRouting.png
Previous Topic:GmfMap allowed types for metric expression
Next Topic:Displaying custom EMF properties in GMF diagram
Goto Forum:
  


Current Time: Fri Apr 26 06:38:37 GMT 2024

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

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

Back to the top