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 09:31
Nicolas  Lalevée is currently offline Nicolas Lalevée
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 Jul 29 13:06:20 EDT 2014

Powered by FUDForum. Page generated in 0.01354 seconds