Links of Super Class are not available in Child Class... [message #230995] |
Thu, 21 May 2009 09:47  |
Eclipse User |
|
|
|
Hello,
I have modelled the following 4 classes (just showing some attributes only
to illustrate the problem):
Class A:
name: EString
containsToken: Token
sourceConnectionHasToken: hasToken
Class B -> A: (A is ESuper Type of B)
Token:
name: String
hasToken:
hasTokenSource: Class A
hasTokenTarget: Token
That's it...
Intuitively, class B should inherit the name attribute and the link
'hasToken' to Token. However, in die diagram, only class A offers to link
to a Token, but class B does not. Surprisingly, the name attribute is
available in class B.
In the mapper, there are 3 "Top Node References" and 1 "Link Mapping" for
the hasToken link.
I experiemented a bit with the properties of the Link Mapping for hasToken
but nothing happens.
Has anyone experienced the same problem and may give some advice?
Thanks!
Scholle
|
|
|
|
|
|
|
|
|
|
|
|
Re: Links of Super Class are not available in Child Class... [message #231716 is a reply to message #231493] |
Thu, 28 May 2009 10:05  |
Eclipse User |
|
|
|
Hi,
I finally solved the problem...
I tried different versions of the GMF SDK... 2.1.2, 2.1.3 and 2.2...
While it wasn't working with the first two, I got it right with 2.2...
Don't exactly know what the source of the problem was... There might be
another reason than the version only... but trying different versions is
definitely one way to sort this out... at least it worked for me...
Scholle
|
|
|
Powered by
FUDForum. Page generated in 0.05461 seconds