Skip to main content



      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
Eclipse UserFriend
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: Sun Jul 13 13:55:24 EDT 2025

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

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

Back to the top