|
Re: Defining Relation-based Edge for Xtext Domainmodel [message #1636579 is a reply to message #1634148] |
Thu, 26 February 2015 09:00 |
|
Le 25/02/2015 06:56, Akira Tanaka a écrit :
> I have a problem on defining relation-based edge (Sirius) for properties in Xtext's domainmodel example.
>
> I am trying to define Sirius based graphical editor for Xtext's example domainmodel whose ecore model (generated by Xtext) is attached below.
>
> I was able to define container representing "Entity" but was not successful for doing the same with edge representing Entity's reference to other Entity.
Maybe I'm missing something because I'm not familiar enough with Xtext,
but from a quick look at the .ecore, I don't see any way in which an
Entity references another Entity. The only references I see in an Entity
are to its "superTypes" (from JavaVMTypes.ecore), and to contained
Features, which themselves don't seem to have references to any Entity.
--
Pierre-Charles David - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03026 seconds