Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » After linking|Scoping but before Generator and second language
After linking|Scoping but before Generator and second language [message #1064651] Thu, 20 June 2013 12:11
Thomas Hergenröder is currently offline Thomas HergenröderFriend
Messages: 22
Registered: February 2012
Junior Member
We have 2 xtext languages.

DSL-A provides Objects for DSL-B.
In other Words in B you can set cross-references to A.

Now I want to add imaginary, transient model elements to A.
They should be visible to the generator of A
and you should be able to reference them in language B.

I tried to override AbstractCleaningLinker.afterModelLinked.
But the in memory-Model is not yet loaded completly.
So I run into problems like:
Couldn't resolve lazy link, because no node model is attached.

Any recomendations for a better place?
Previous Topic:Scope for EObject with Qualified Name
Next Topic:Xtext Grammar - Exclusion of a specific Rule
Goto Forum:

Current Time: Mon May 01 02:48:30 GMT 2017

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

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