Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EuGENia]
[EuGENia] [message #582965] Wed, 18 November 2009 11:55
Eclipse UserFriend
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: Fri Apr 26 16:41:02 GMT 2024

Powered by FUDForum. Page generated in 0.03160 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top