[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Binary assosiation between one class

Hello Alex,

first, thanks for your answer!

Is there a (elegant) way, to prevent the second link from being displayed?
You have to create siource/target end link constraint hiding one of the links using some criteria.. Like: self.criteria() > oppositeEnd.criteria()

When i create a target end link constraint on the link mapping (i simply used 'self.getHash() > oppositeEnd.getHash()') in the gmfmap-model, it leads to being able to create a Neighbor-link from i.e. 'element1' to 'element2', but not being able to create it from 'element2' to 'element1'.
At first, only one link is shown, but after open/close, both links are shown again.


Did i create the constraint at the wrong place? Does something like a "Display-constraint" exist in gmf?

Best regards,
Klaus