Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Control Points for CurvedConnection(Dynamic positioning of control points for a Bezier curve)
Control Points for CurvedConnection [message #1219711] Thu, 05 December 2013 14:23 Go to next message
Kunal Prasad is currently offline Kunal Prasad
Messages: 18
Registered: September 2009
Junior Member

Hi,

In Graphiti 0.9.2, There is a feature of CurvedConnection provided as per below bug

https://bugs.eclipse.org/bugs/show_bug.cgi?id=352119

According to this, Its now possible to add curved connection with fixed set of control points. In the bug posts, the comment 11:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=352119#c11

Explains of a test through custom feature of modifying the control points. So this post is specially for Michael Wenz if he can share the test cases along with the samples to create the curve and dynamically modify the control points using a custom feature.

My goal is more to have something on diagram as below in the web page:

http://www.math.ubc.ca/~cass/gfx/bezier.html

Thanks & Regards,
Kunal
Re: Control Points for CurvedConnection [message #1219747 is a reply to message #1219711] Thu, 05 December 2013 15:46 Go to previous message
Michael Wenz is currently offline Michael Wenz
Messages: 1618
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Kunal,

this custom feature is part of our Sketch test tool (class name is
ModifyControlPointsFeature). You can find it in our Git repo in the tests
folder:
https://git.eclipse.org/c/gmp/org.eclipse.gmp.graphiti.git/tree/tests/org.eclipse.graphiti.testtool.sketch/src/org/eclipse/graphiti/testtool/sketch/features/ModifyControlPointsFeature.java

Michael
Previous Topic:PropertyChangeListener in new View
Next Topic:Different classloader in ToolBehaviorProvider?
Goto Forum:
  


Current Time: Sat Oct 25 12:48:41 GMT 2014

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

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