Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » implementing Xtext functionality in Xtend
implementing Xtext functionality in Xtend [message #973515] Tue, 06 November 2012 11:57 Go to next message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 431
Registered: July 2009
Location: Gothenburg
Senior Member
Hi!

I have implemented my OutlineTreeProvider in Xtend, to take advantage of dispatch methods. Now I see the when regenerating the code from the grammar, a default Java class is created, colliding with the xtend one.

Is this something you might consider detecting, or is the only solution to use Xtend in a helper class?

regards,
Vlad
Re: implementing Xtext functionality in Xtend [message #973525 is a reply to message #973515] Tue, 06 November 2012 12:02 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Am 06.11.12 12:57, schrieb Vlad Dumitrescu:
> Hi!
>
> I have implemented my OutlineTreeProvider in Xtend, to take advantage of
> dispatch methods. Now I see the when regenerating the code from the
> grammar, a default Java class is created, colliding with the xtend one.
>
> Is this something you might consider detecting, or is the only solution
> to use Xtend in a helper class?
>
> regards,
> Vlad
>

You may want to follow this ticket:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=346092

Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com
Re: implementing Xtext functionality in Xtend [message #973530 is a reply to message #973525] Tue, 06 November 2012 12:14 Go to previous message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 431
Registered: July 2009
Location: Gothenburg
Senior Member
Thanks!

/Vlad
Previous Topic:Weird errors in projects
Next Topic:Duplicate entries / namespace problems
Goto Forum:
  


Current Time: Tue Apr 23 07:41:02 GMT 2024

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

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

Back to the top