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: Fri Dec 19 12:18:34 GMT 2014

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

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