Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumseOpposite with xtext
https://www.eclipse.org/forums/index.php/mv/msg/163652/517948/#msg_517948
I 'd like to introduce an eOpposite relation
like in the model in the picture.
please help me.
if you invoke eContainer() on a Node in something like a Validator, you would get a reference to its Arc]]>Flowqi2010-03-02T15:34:07-00:00Re: eOpposite with xtext
https://www.eclipse.org/forums/index.php/mv/msg/163652/517962/#msg_517962
but
wih your solution , you can't introduce a join between outcomings and source.
we should have a relation between outcomings and source,
also I dont like in the textual model introduce these outcomings.]]>Fy Za2010-03-02T15:40:10-00:00Re: eOpposite with xtext
https://www.eclipse.org/forums/index.php/mv/msg/163652/517965/#msg_517965
is there someone who has an example in which he transformes eOposite into xText ??
Thanks]]>tunisiano 2010-03-02T15:42:14-00:00Re: eOpposite with xtext
https://www.eclipse.org/forums/index.php/mv/msg/163652/518065/#msg_518065
it is recommended to use imported metamodels if you want to use opposite
references. If you want to stick with generated metamodels, have a look
at the Xtext FAQ to learn about the post processor: http://wiki.eclipse.org/Xtext/FAQ#How_can_I_control_the_Xtex t_meta_model_inference.C2.A0.3F
Please note the emf contract that both sides of the referenced have to
exist in the concrete syntax because it is required to create a proxy
for either of them.
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 02.03.10 16:42, schrieb tunisiano:
> i'm just trying to resolve a such problem, i've changed the Xpand in my
> way but not xtext there's always problems in it..
> is there someone who has an example in which he transformes eOposite
> into xText ??
> Thanks]]>Sebastian Zarnekow2010-03-02T22:15:41-00:00