[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,
>> Did i create the constraint at the wrong place? Does something like a
>> "Display-constraint" exist in gmf?
> you need to create "constraint" (not one of "link constraints") for
> this link mapping. constraint text should be something like:
> self.getHash() > neighbor.getHash()

looks like this doesn't work either. When i create a "constraint", i am asked to set the Domain Meta Element when creating the generator model. But since the constraint should be for a Referenced Rased Link, i can't set the Domain Meta Element.

I guess i am going to change my ecore-model and change the "neighbor"-"neighbor" reference, to "neighborSource"-"neighborTarget" or something like that.

Thanks for help,
Klaus