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: 11826
Registered: July 2009
Senior Member
you have to implement a custom IQualifiedNameProvider e.g. as described here

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :
Previous Topic:Custom QualifiedNameProvider Problems
Next Topic:ImportURI is depricated?
Goto Forum:

Current Time: Fri Mar 23 22:17:31 GMT 2018

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

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