Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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 16 14:37:55 EDT 2025

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

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

Back to the top