Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Bi Directional Cross-Document Referance on XTEXT
Bi Directional Cross-Document Referance on XTEXT [message #1067355] Mon, 08 July 2013 11:54 Go to next message
serhat gezgin is currently offline serhat gezginFriend
Messages: 243
Registered: January 2013
Location: Izmir
Senior Member
Hi all,

I want to ask u is it posibble to make bi directional cross document Referance on xtext ?

Regards
Re: Bi Directional Cross-Document Referance on XTEXT [message #1067365 is a reply to message #1067355] Mon, 08 July 2013 12:27 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Serhat,

You won't get good help unless you're more specific. From your EMFT
post it's clear that you're asking about more than just a bidirectional
cross document reference. Specifically you appear to have two separate
Ecore models and want to be able to specify a bidirectional reference
between EClasses from the two different models. That implies the two
models are mutually dependent and with pure EMF, the two models must be
generated from a single *.genmodel into a single project. You
mentioned that Xtext requires separate projects so those two constraints
appear to be mutually exclusive.


On 08/07/2013 1:54 PM, serhat gezgin wrote:
> Hi all,
>
> I want to ask u is it posibble to make bi directional cross document
> Referance on xtext ?
>
> Regards


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Bi Directional Cross-Document Referance on XTEXT [message #1067404 is a reply to message #1067365] Mon, 08 July 2013 14:22 Go to previous message
serhat gezgin is currently offline serhat gezginFriend
Messages: 243
Registered: January 2013
Location: Izmir
Senior Member
Hi,

yes u explain problem better than me. As u say i need 2 dsl and i need

biDirectional cross Document referans on them.

Sample;

--DSL1--

a terminal refTo b

--DSL2--

b terminal refTo a (and these referances must be eOppiste Smile (if possible))

and i want to ask one more question;

on 1 Xtext project can i generate 2 dsl ?

Regards.
Previous Topic:xtext replace "scr-gen" directory
Next Topic:copying node model information between resources
Goto Forum:
  


Current Time: Thu Apr 25 15:55:48 GMT 2024

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

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

Back to the top