Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Howto prevent being sent to the language model file by Eclipse from Java
Howto prevent being sent to the language model file by Eclipse from Java [message #1203238] Fri, 22 November 2013 14:56 Go to next message
Victor Noël is currently offline Victor NoëlFriend
Messages: 112
Registered: June 2010
Senior Member
Hi,

My language generates some java classes using the JvmModelInferrer but I would like that when I do a ctrl+click or F3 on a reference to one of the generated classes, Eclipse open the generated java class and not the language model file.

Is that possible?

Thanks Smile
Re: Howto prevent being sent to the language model file by Eclipse from Java [message #1205040 is a reply to message #1203238] Sat, 23 November 2013 11:36 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 6552
Registered: July 2009
Senior Member
have a look at XbaseEditorInputRedirector
and its use in xtend

(sorry further debugging you have todo yourself)
Re: Howto prevent being sent to the language model file by Eclipse from Java [message #1205133 is a reply to message #1205040] Sat, 23 November 2013 12:42 Go to previous messageGo to next message
Victor Noël is currently offline Victor NoëlFriend
Messages: 112
Registered: June 2010
Senior Member
Thanks, that's already very useful Smile
Re: Howto prevent being sent to the language model file by Eclipse from Java [message #1216522 is a reply to message #1205133] Thu, 28 November 2013 14:13 Go to previous messageGo to next message
Victor Noël is currently offline Victor NoëlFriend
Messages: 112
Registered: June 2010
Senior Member
Hi,

Are you sure it is the correct class? I couldn't find it used anywhere in xtend.core or xtend.ide...
Re: Howto prevent being sent to the language model file by Eclipse from Java [message #1216551 is a reply to message #1216522] Thu, 28 November 2013 14:26 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 6552
Registered: July 2009
Senior Member
No i am not sure. It is in xbase btw

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de
Previous Topic:[Xtext 2.3.1] : Ineffective syntactic predicate
Next Topic:Infinite loop in UI internal ANTLR parser
Goto Forum:
  


Current Time: Mon Dec 22 10:44:10 GMT 2014

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

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