Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to change the QualifiedNameProvider from another language
How to change the QualifiedNameProvider from another language [message #1863620] Fri, 16 February 2024 14:06 Go to next message
jo ber is currently offline jo berFriend
Messages: 94
Registered: August 2018
Member
Hi

I've two languages A and B.
B has cross reference to element defined in A.
A has its own QualifiedNameProvider.

When I'm in language B (i.e. writing some instances based on grammar B) I would like to use another QualifiedNameProvider for the elements in language A. How can i change the qualified name provider for A ?

Thank you and kind regards,

[Updated on: Fri, 16 February 2024 14:11]

Report message to a moderator

Re: How to change the QualifiedNameProvider from another language [message #1863621 is a reply to message #1863620] Fri, 16 February 2024 16:23 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14735
Registered: July 2009
Senior Member
You usually you do this in the scoping of lang b
Check out aliasedeobjectdescription.

For more you need to be more specific

Eg in lang a you could also index the elements under more than one name
And then in both scopes filter accordingly


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Re: How to change the QualifiedNameProvider from another language [message #1863622 is a reply to message #1863621] Fri, 16 February 2024 16:41 Go to previous message
jo ber is currently offline jo berFriend
Messages: 94
Registered: August 2018
Member
Thank you for the answer.

That's exactly what i was looking for. I'll dig a bit on that topic. ty.
Previous Topic:[Xtext] Default values for optional assignments?
Next Topic:Contributing patches
Goto Forum:
  


Current Time: Sat Dec 07 03:30:55 GMT 2024

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

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

Back to the top