Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » Howto make a bidirectional linking between two classes
Howto make a bidirectional linking between two classes [message #636376] Sun, 31 October 2010 17:12 Go to next message
Brandenburgerin  is currently offline Brandenburgerin
Messages: 1
Registered: October 2010
Junior Member
Hello together,

I am just a beginner with EMF and try to understand the basics and I have one question, for that I cant find an answer:

how can I Link two classes together with a bidirectional EReference? With other words: I dont want the arrow to one of the classes...

I hope that anyone coul help me at this noob-question. Embarrassed

Greets Brandenburgerin
Re: Howto make a bidirectional linking between two classes [message #638778 is a reply to message #636376] Fri, 12 November 2010 10:02 Go to previous message
waqar  is currently offline waqar
Messages: 5
Registered: October 2010
Junior Member
If you are working in EMF with Ecore model. its very simple. you just make two references to the opposite classes and then in the property of one reference you give EOpposite property the other reference.
Previous Topic:How to use EType "Sequence"
Next Topic:[EMF/Ecore] Generated editor projects always break after metamodel modifications?
Goto Forum:
  


Current Time: Wed Jul 30 03:25:42 EDT 2014

Powered by FUDForum. Page generated in 0.02147 seconds