Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EuGENia]
[EuGENia] [message #582965] Wed, 18 November 2009 06: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
Previous Topic:Different diagram for one metamodel (ex Architectural and Type Diagram)
Next Topic:[EuGENia]
Goto Forum:
  


Current Time: Thu Aug 28 01:34:50 EDT 2014

Powered by FUDForum. Page generated in 0.02043 seconds