marc_3
marc_3

Reputation: 11

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?

Upvotes: 0

Views: 344

Answers (1)

Pavel Vlasov
Pavel Vlasov

Reputation: 161

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.

Upvotes: 1

Related Questions