GMFMap ChildReference non-containment [message #90936] |
Tue, 09 January 2007 11:00 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02810 seconds