[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Re: Initialization of diagramfile from existing domainmodel incomplete
|
I tried to add the constraints and it works as it should do... Thank you
so much for your helpful advice! I never had thought that this would be
so easy :)
Best regards,
Christian.
Alex Shatalin schrieb:
> Hello Christian,
>
> The reason on this problem is: you have two absolutely identical node
> mappings (for TestClass insde Model and TestClass inside another
> TestClass). You have to make them different. ;-)
> For example, I've added following constraints:
> "not model.oclIsUndefined()" for TestClass in Model
> "model.oclIsUndefined()" for other TestClasses
> Another solution is to add TestSubClass to your model and extend from
> TextClass.
>
> -----------------
> Alex Shatalin
>
>