[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Links between the same Elements

So how do you suppose diagram editor will distinguish these links in runtime? You've specified how to initialize them but not how to distinguish them...

In TaiPan example I've modeled the same case - reliable and unreliable routes. Same class, links differ by 'reliability' attribute value. Feature sequence initializers are complemented by link constraints.

Elena Renzi wrote:
Hi,
in my ecore metamodel I have an Eclass Relationship with an Eattribute card, that allows me to create relationship 1:n and relationship n:m between Entities.
I want to represent relationship as links, so I created two link mapping in my gmfmap model. Links mapping are equals except for a feature seq initializer where I set the card(1:n) attribute. When I run the model I have an error: the first link works fine, but the second create both the relation 1:n and the relation n:m...Can someone tell me where I was wrong?
Thanks in advance
Elena Renzi