Problem drawing a child of an element [message #212889] |
Fri, 05 December 2008 15:50  |
Eclipse User |
|
|
|
Originally posted by: jbocanegra.uniamazonia.edu.co
Hi.
I have a editor to draw both a Package and an element called Mri as child of
Package.
When I put the Mri item outside of package, Mri is drawed ok, but if I put
the Mri item inside of package the Mri is incorrectly drawed.
I attach a screen capture: the element "Mri1" was placed originally outside
of Package and then I drag it inside of package. As we can view, the element
is correctly drawed.
However, the element "<...>" was placed inside of Package and as we can
view, the element is incorrecty drawed because don't show the label of the
name.
Some idea to solve this problem?
Regards,
Jos
|
|
|
Re: Problem drawing a child of an element [message #212944 is a reply to message #212889] |
Mon, 08 December 2008 07:33  |
Eclipse User |
|
|
|
Hello Jose,
I suppose the problem is in unimplemented D&D support in GMF – internally
generated code should change a representation of the element on D&Dpping
it from the diagram into another node (inner element can have different visual
representation – e.g. just a label without any complex node structures).
I know this functionality is not implemented in GMF now, but I can not find
a bug report for it. So, if you see the problem is clearly describing your
situation (model is represented incorrectly on D&D top-level diagram element
below another one) please submit a bugzilla entry asking to handle this situation
by GMF code generation. For now I can suggest you to block D&D functionality
and allow to D&D top-level elements across the diagram or inner elements
from one container to another container of the same type.
-----------------
Alex Shatalin
|
|
|
Powered by
FUDForum. Page generated in 0.03307 seconds