Containment Feature owned by Domain Meta Element [message #903208] |
Wed, 22 August 2012 13:52 |
Marine Mare Messages: 1 Registered: August 2012 |
Junior Member |
|
|
Hello,
I get the famous error message while trying to validate the gmfmap:
"Containment Feature must be owned by Domain Meta Elemnt or its super type of this reference parent Node Mapping"
But the point is, that actually it is owned, so I dont really understand why it doesnt work.
The Meta-Model is following:
Root element "SB" contains "S" and "MB".
"S" contains "DE", from which my elemt of interest "CDE" inherits.
"MB" contains my element of interest "CDE" directly.
So I have two top node references: "S" and "MB".
"S" has Child Reference "CDE", and it works
But if I add Child Reference "CDE" to "MB", it produces this mistake.
I am very confused, as element "CDE" is practically contained in both "S" and "MB", with the only difference, that in "S" it is contained though inheritance element "DE".
In the Tree editor I can add my "CDE" elements both to "S" and to "MB", but not in GMF!
Why it doesn't work?
Thank you very much!
|
|
|
Powered by
FUDForum. Page generated in 0.03883 seconds