[EuGENia] [message #582965] |
Wed, 18 November 2009 11:55 |
Eclipse User |
|
|
|
Originally posted by: arendt.mathematik.uni-marburg.de
Hi,
Using EuGENia two questions arose when specifying source and target of a
link:
1. How can I specify elements in an EList?
2. How can I navigate to other related EClasses?
Consider the following example:
class Classifier{}
@gmf.node
class Class extends Classifier{}
class Property extends Classifier{
ref Classifier type;
}
If I want to specify Associations like in UML, I think of this solution:
@gmf.link(source=X, target=Y)
class Association {
val Property[2] ownedEnds;
}
where X had to be set to "ownedEnds.get(0).getType()" or something like
this. Who can help to specify X and Y???
Regards,
Thorsten
|
|
|
Powered by
FUDForum. Page generated in 0.04275 seconds