|
|
|
|
|
Re: Issue with cross-referencing elements of other EMF model [message #1151468 is a reply to message #1117317] |
Wed, 23 October 2013 07:18   |
Eclipse User |
|
|
|
Hi Christian,
Sorry for my late reply but I was trying to implement and play a little before making more questions and I finally solved the issues of the outline view, the formatting, templates, internal cross-references and semantic checks.
However now I want to integrate my dsl project with an external EMF project(not XTEXT) which has elements which can be referenced within the grammar (i.e. activity ids, function names, variables...).
In the grammar I use the import of the ecore file of the EMF project and I have added de dependency in the plugin, so compiling speaking everything works. However at runtime the references are not found.
My deployment is: I run the editor plugin generated by the EMF project (adding the dependencies to the Xtext Project) and after I have openned the ssm file (xmi resource) correctly, I open a pluto file (xtext resource) also correctly with all features working (i.e. content-assist, formatting, syntax highlinghting, even validation after a customisation). However, the references are not found..
Can you tell me if I need to do some extra binding between the projects??
|
|
|
|
|
|
|
|
|
Re: Issue with cross-referencing elements of other EMF model [message #1173828 is a reply to message #1171934] |
Wed, 06 November 2013 14:45  |
Eclipse User |
|
|
|
Hi,
for your grammars outline you have to care yourself. (or a least set a dependency from to ui project to whatever it wants.
the point on the nameprovider i do not understand. are you should you did implement it correct and bound it in the module of the reourceserviceprovider? is it called when debugging?
|
|
|
Powered by
FUDForum. Page generated in 0.06179 seconds