Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 17:11
Alex C is currently offline Alex C
Messages: 13
Registered: July 2009
Junior Member
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: Fri Oct 31 06:39:56 GMT 2014

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

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