Skip to main content


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 21:12 Go to next message
Brandenburgerin  is currently offline Brandenburgerin Friend
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 15:02 Go to previous message
waqar  is currently offline waqar Friend
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: Fri Mar 29 02:13:41 GMT 2024

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

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

Back to the top