简体   繁体   中英

EMF Model ecore Diagram eclipse, how to do a two way relation

I'm trying to do my first Model with ecore diagram and I didn't find a way to draw a relationship between two class with any direction on it. In other words, any arrow symbol on the extremity of it.

Is it possible and how to do it?

Create a reference from the first class to the second. Call it ref1, for example. Then create another reference in the opposite direction - from the second class to the first - and set its "opposite" property to ref1.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM