Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » [Xtext 2] Generic cross-references to Ecore resources?
[Xtext 2] Generic cross-references to Ecore resources? [message #666034] Mon, 18 April 2011 17:26 Go to next message
Joern is currently offline JoernFriend
Messages: 22
Registered: March 2010
Junior Member
Hi,

Is there a generic way to cross reference (named) elements in Ecore resources from Xtext 2.0 editors? Or is it necessary to provide build-time class files for each Ecore meta-model as it is described by Andreas ( http://5ise.quanxinquanyi.de/2010/10/31/xtext-1-0-0-and-uml- xpand-on-top/) or has been discussed before ( http://www.eclipse.org/forums/index.php?t=rview&goto=551 699&th=173115)?

Thanks & best regards,

Joern

[Updated on: Mon, 18 April 2011 17:29]

Report message to a moderator

Re: [Xtext 2] Generic cross-references to Ecore resources? [message #666115 is a reply to message #666034] Tue, 19 April 2011 07:55 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
Xtext ships with a builder participant that indexes Ecore files.
Referring to elements in these files should work out of the box without
having to generate Java code.

Am 18.04.11 19:26, schrieb Joern:
> Hi,
> Is there a way to generically cross reference (named) elements in Ecore
> resources or is it necessary to provide build-time class files as it is
> described by Andreas
> ( http://5ise.quanxinquanyi.de/2010/10/31/xtext-1-0-0-and-uml- xpand-on-top/)
> or has been discussed before
> ( http://www.eclipse.org/forums/index.php?t=rview&goto=551 699&th=173115)?
>
> Thanks & best regards,
>
> Joern


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com


---
Get professional support from the Xtext committers at www.typefox.io
Previous Topic:ImportUriGlobalScopeProvider
Next Topic:Accessing preference stores in Xtext
Goto Forum:
  


Current Time: Sat Apr 27 00:40:43 GMT 2024

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

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

Back to the top