Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » [GMF Runtime] Regression from https://bugs.eclipse.org/bugs/show_bug.cgi?id=194482 fix on Rectilinea
[GMF Runtime] Regression from https://bugs.eclipse.org/bugs/show_bug.cgi?id=194482 fix on Rectilinea [message #780489] Wed, 18 January 2012 09:40
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
Hi,

I have a GMF based application which works on Eclipse 3.3 and 3.5, with
a example gmf notation model I have a edge with four bendpoints, on 3.3
the RectilinearRouter route the connection by computing 4 draw2d points
but on 3.5, it the routing results in 6 draw2d points, which is ugly. I
have the same issue (yet on 3.5) when moving a connection's
source/target, the RectilinearRouter add new points while it is not
necessary to have rectilinear polyline.

Analyzing this issue, I have seen the
https://bugs.eclipse.org/bugs/show_bug.cgi?id=194482 fix which causes
this regression, indeed using the RectilinearRouter before the fix of
the ticket, I have not this issue.

Like I can't provide my example, I have attached a patch to the
RectilinearRouterTest to show the issue. Using the latest
RectilinearRouter (from trunk) the pointList's size is 6 while before
the fix of https://bugs.eclipse.org/bugs/show_bug.cgi?id=194482 the
pointList's size is 4.

Best Regards.
  • Attachment: test.patch
    (Size: 3.46KB, Downloaded 366 times)
Previous Topic:Synchronize Xtext and GMF editors
Next Topic:GMF Custom Palette with node attributes preset
Goto Forum:
  


Current Time: Fri Apr 26 12:49:29 GMT 2024

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

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

Back to the top