Connections not following moved Figures/Nodes [message #249521] |
Thu, 09 July 2009 09:38  |
Eclipse User |
|
|
|
Howdy,
I'm new to the world of eclipse plugins and GEF.
GEF will be perfect for my project.
To build my GUI modelling tool I started with the Logic GEF example and
tweaked it to to get what I want.
However, in my hacking it appears I've broken something and when I move a
component (a graph node) around, the connectors that join it do not follow.
I've racked my brain for a while and carefully examined both the Shapes
example and Logic example, but I can't for the life of me work out what's
different that would cause this not to work.
I can successfully draw connetions that persist into the model and figures
are created. see http://twitpic.com/9s4yv
However, when I select and move one of the blocks, the connector does not
follow. see http://twitpic.com/9s52b
I really don't understand what's causing this.
I would really appreciate some help in understanding this issue and how to
resolve it.
Any help is greatly appreciated
Thanks,
Vijay
|
|
|
Re: Connections not following moved Figures/Nodes [message #249527 is a reply to message #249521] |
Thu, 09 July 2009 09:48  |
Eclipse User |
|
|
|
Dammit, I think I worked it out.
I wrote my own ConnectionAnchor impl that was using an old reference to
the Figure rectangle, instead of fetching the dimension from the figure...
3 hours later...
I probably should have worked this out earlier, but it's late...and I ran
out of coffee...
|
|
|
Powered by
FUDForum. Page generated in 0.03242 seconds