Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMFMap ChildReference non-containment
GMFMap ChildReference non-containment [message #90936] Tue, 09 January 2007 11:00
Eclipse UserFriend
Originally posted by: shane.clarke.iona.com

Hi,

I've got a child-reference in my gmfmap which has its containment
feature set to a eReference that isn't owned by the domain model element
or its super type, and this produces a validation error.

It's contained elsewhere in the model.

Now i can proceed with creating the gmfgen file and ignore the errors
and everything is ok.

Is there any way to turn off that validation i.e.

Containment Feature must be owned by Domain Meta Element or its super
type of this reference parent Node Mapping

I've seen https://bugs.eclipse.org/bugs/show_bug.cgi?id=146197, so 2.0

I've modified org.eclipse.gmf.mappings.impl.GMFMapPackageImpl to remove
the particular annotation from createConstraintsAnnotations() and that
seems to do the trick.

Is this the right route to take?. (GMF 1.0.2)

Thanks,
Shane
Previous Topic:Setting Default Values for the Diagram Editor
Next Topic:roundtrip editor, possible?
Goto Forum:
  


Current Time: Thu Jul 17 20:00:30 EDT 2025

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

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

Back to the top