Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Dealing with custom implementation of Ecore beans
Dealing with custom implementation of Ecore beans [message #972319] Mon, 05 November 2012 14:31
Nicolas  Lalevée is currently offline Nicolas LalevéeFriend
Messages: 14
Registered: July 2009
Junior Member
In the language I develop (https://github.com/nlalevee/jst) there is a rule which produces a JvmGenericType (JstFile returns types::JvmGenericType). At first it didn't work, running the language throws some UnsupportedOperationException. I quickly figured out that I had to make an implementation of JstFile which does the same as JvmGenericTypeImplCustom. I changed accordingly my FactoryImpl. Then everything work fine.

But now, each time I regenerate my language, I have to manually change again my FactoryImpl. Is there any way I can configure the generator to handle my custom implementation ? How is it done with Xbase ?
Previous Topic:Generating Static Objects
Next Topic:Adding new fields in code generator
Goto Forum:
  


Current Time: Tue Mar 19 06:17:39 GMT 2024

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

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

Back to the top