Management of several child class and superclass as child too [message #191901] |
Tue, 10 June 2008 09:39  |
Eclipse User |
|
|
|
Hello,
I'm a beginner with GMF, so perhaps this subject is trivial. Anyway, I
have detected this behavior and I wonder if it's a bug or not.
I have in the emf model this use case :
A containment feature B
B
C -> B
D -> B
within the mapping model I try to define A with childs : B, C, D
but GMF doesn't consider C and D (no code generation to manage these
specialized node, edirPart for example of creation command).
The behavior is when the user wants to create a C node (emf model seems to
be correct, C exist), the figure used is B figure. And in teh compartment
dedicated to B nodes on the A node, we have a troubleshoot, the C node
doesn't appear imediately, but it's necessary to have a B node available
and move it in the compartment to seen the C node arising.
Does soem body have an idea ?
The solution is to have always specific childs defined in the gmfmap,
never the super class! Is it normal ?
Thanks
|
|
|
|
Powered by
FUDForum. Page generated in 0.05175 seconds