Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How do you use BendPoints with Zest?
How do you use BendPoints with Zest? [message #244681] Mon, 28 July 2008 22:33
Tamar Cohen is currently offline Tamar CohenFriend
Messages: 2
Registered: July 2009
Junior Member
Hello --

so while I'm a veteran GEF user I'm new to Zest, (which is so great, what a
time saver!). I'm having a problem with bend points. I've created an
editor that has a Zest GraphViewer in it and I have my own LayoutAlgorithm.
My nodes show up and are very cute, and have the correct connections between
them, but I cannot figure out how to add bend points to the connections that
I want to bend.

My latest attempt was to modify my layout algorithm to implement
updateBendPoints to add the bend points I want to a given relationship, and
I tried calling updateBendPoints from both preLayoutAlgorithm and
applyLayoutInternal, and I get no discernable change. Is there some flag I
should be setting to use bendpoints?

Better yet, is there a way to tell the layout algorithm to route connections
around all nodes? that's really the problem I'm trying to solve ...

Thanks

Tamar
Previous Topic:Embedded object in ZEST
Next Topic:Installing GEF in eclipse 3.4
Goto Forum:
  


Current Time: Fri Apr 26 17:13:51 GMT 2024

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

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

Back to the top