Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Cross referencing in xtext
Cross referencing in xtext [message #1781946] Wed, 14 February 2018 22:55 Go to next message
Mebrahtom Guesh is currently offline Mebrahtom GueshFriend
Messages: 1
Registered: February 2018
Junior Member
xtext uses the "name" attribute to reference elements within the scope of the file but I want to use another attribute as an identifier of my instances. How is it possible to achieve that?
Re: Cross referencing in xtext [message #1782234 is a reply to message #1781946] Tue, 20 February 2018 19:18 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 12229
Registered: July 2009
Senior Member
you have to implement a custom IQualifiedNameProvider e.g. as described here https://christiandietrich.wordpress.com/2011/07/16/iqualifiednameproviders-in-xtext-2-0/

Need professional support for Xtext, Xpand, EMF?
Go to: https://xtext.itemis.com
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Custom QualifiedNameProvider Problems
Next Topic:ImportURI is depricated?
Goto Forum:
  


Current Time: Wed Sep 19 10:33:40 GMT 2018

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

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

Back to the top