Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Choose from one of multiple IJvmModelInferrer implementations at runtime
Choose from one of multiple IJvmModelInferrer implementations at runtime [message #922031] Mon, 24 September 2012 13:11
Eclipse UserFriend
Hi there,

In my xtext project I would like to have multiple IJvmModelInferrer implementations and programmatically choose which one is to be used at runtime, perhaps initially by a hard-wired configuration, and then perhaps from the gui at some future point.

But the key point is that only one inferrer gets used, and the choice is configurable.

I see that by default, there is a generated 'Abstract[xxx]RuntimeModule' class which defines a 'bindIJvmModelInferrer' method, this seems to be called at runtime for Guice binding.

I would appreciate any guidance or suggestions on how to go about this

Thanks

Alex.
Previous Topic:problem for define dsl
Next Topic:xtext grammer default data types
Goto Forum:
  


Current Time: Sat Jul 12 06:56:18 EDT 2025

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

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

Back to the top