Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Cross references(how do cross references works?)
Cross references [message #879575] Thu, 31 May 2012 09:09 Go to next message
Eclipse UserFriend
hi,
can somebody explain to me how the cross references and enumeration works in xtext , i have read the xtext documentation and try to do an example but is still not clear .
Re: Cross references [message #879583 is a reply to message #879575] Thu, 31 May 2012 09:20 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

for cross references please read e.g. http://blogs.itemis.de/stundzig/archives/773
what is your question on enums? enums have nothing todo with cross references?

~Christian
Re: Cross references [message #879595 is a reply to message #879583] Thu, 31 May 2012 09:43 Go to previous messageGo to next message
Eclipse UserFriend
thks for the doc , for cross references i've seen two differents examples :
-one saying to define the references in the grammar
- the second one to define it in a template

among the two , what is the best?, or they are working together.

concerning enums, i know they had nothing to do with cross references , but i've also try java examples in order to see how it works , it doesnt work , i just want to have if it is possible a working example showing how enums and cross references works or how they are apply in xtext.
Re: Cross references [message #879598 is a reply to message #879595] Thu, 31 May 2012 09:48 Go to previous message
Eclipse UserFriend
Hi,

please post what doesnt work regarding enums. they are so trivial that you wount need an extra example.

cross references are defined in the grammar. where did you find a hint to do them in content assist/templates only?????

~Christian
Previous Topic:Xtext: Xbase extensions
Next Topic:Using Xtext with Zest framework
Goto Forum:
  


Current Time: Fri Jul 04 09:19:34 EDT 2025

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

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

Back to the top