| Summary: | Bidirectional features with imported model | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Dénes Harmath <thsoft> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | moritz.eysholdt, sven.efftinge |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
(In reply to comment #0) > When importing a model, bidirectional references require concrete syntax on > both ends, which is actually duplication from the user's point of view. It > would be great if the opposite reference would be automatically derived. EMF automatically sets the value of an EReference's opposite's EReference. Could you say something about why this is not working in your case? Furthermore, if you want to serialize a model the TransientValueService can be customized to avoid serializing the opposite EReference. Dennis, please see the following bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?format=multiple&id=282486 *** This bug has been marked as a duplicate of bug 282486 *** |
Build Identifier: 20100617-1415 When importing a model, bidirectional references require concrete syntax on both ends, which is actually duplication from the user's point of view. It would be great if the opposite reference would be automatically derived. Reproducible: Always Steps to Reproduce: As of now, the user receives errors such as this: The opposite features 'extends' of 'org.xtext.example.mydsl.myDsl.impl.GreetingImpl@113c6f6{platform:/resource/models/my.mydsl#//@greetings.1}' and 'parent' of 'org.xtext.example.mydsl.myDsl.impl.GreetingImpl@60304b{platform:/resource/models/my.mydsl#//@greetings.0}' do not refer to each other