|
|
Re: node disapperas (use shadow nodes?) [message #198464 is a reply to message #198396] |
Tue, 22 July 2008 21:38 |
Eclipse User |
|
|
|
Originally posted by: goetz.botterweck.lero.ie
Gary wrote:
> ..For some reason after adding 2 nodes on a diagram, then creating a
> link with one of my connection tools the node im linking to disappears!
>
> Does anyone know why this could be happening?
Hi Gary,
does the link that you are drawing correspond to a containment in your
meta-model?
If yes, that might be the cause for the observed effect. After you
finish drawing that link, in the underlying model the targeted node is
*contained* somewhere else, so it is no longer contained in the object
that corresponds to the Canvas. Hence, it is no longer shown.
If you don't want that hehaviour, you might want to use a technique
called "shadow nodes". You'll find it in this newsgroup or have a look here
http://wiki.eclipse.org/index.php/GMF_MapModel_Hints
See "Show children elements from non-containment feature"
Hope that helps,
Goetz
|
|
|
Powered by
FUDForum. Page generated in 0.04713 seconds