[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] connections both in the outline and the graphic view

By All,

Some explanations :
I try to display diagrams with connections (as in the logic example).
Semantically, it is correct to see the connection at the same level as other component in the view. So, I add the connection into the diagram model (root of the component tree).
As a good result, I see the connection in the outline view.


The problem now is in the graphic view. The new connection model (inserted in the diagram model) requests an editPart. Such an editpart is created from scratch and is not updated with the start and end editparts, etc. As the refresh occurs, the anchors are not found, the default XYAnchor is used and of course, the associated figure is displayed in the wrong place…

What is wrong and how to correct the problem ?

Thanks in advance,
Michel