[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Problem with semantic container of a connection
|
Hi,
when I create a connection (link, edge, whatever...), the semantic
element it represents is added to the children of the semantic element
of the source node, not to the children of the semantic diagram element.
If the source node is a shortcut, the connection's element will be added
to the wrong container, and thus the connection will be being pruned by
the diagram canonical edit policy on the next refresh.
Looking at the generated code, the creation command for the connection's
element does not take any parameter that is referring to the diagram
(only to the semantic source and target elements).
Am I missing something, or do I have to adapt even the creating call of
the semantic creation command to provide the right container? Note: As I
am working with a shared editing domain, there will be multiple diagrams
in the resource set, so this won't give access to the current diagram.
Regards
Jan