Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Containment Feature owned by Domain Meta Element
Containment Feature owned by Domain Meta Element [message #903208] Wed, 22 August 2012 13:52
Marine Mare is currently offline Marine MareFriend
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! Sad

Why it doesn't work?

Thank you very much!
Previous Topic:Notation Elements on Diagram Initalization
Next Topic:Accessing model elements from diagrams that are not opened in an editor
Goto Forum:
  


Current Time: Thu Sep 19 04:15:49 GMT 2024

Powered by FUDForum. Page generated in 0.02914 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top