/*
 * generated by Xtext 2.14.0
 */
package com.minres.rdl.web

import com.google.inject.Guice
import com.google.inject.Injector
import com.minres.rdl.RDLRuntimeModule
import com.minres.rdl.RDLStandaloneSetup
import com.minres.rdl.ide.RDLIdeModule
import org.eclipse.xtext.util.Modules2

/**
 * Initialization support for running Xtext languages in web applications.
 */
class RDLWebSetup extends RDLStandaloneSetup {
	
	override Injector createInjector() {
		return Guice.createInjector(Modules2.mixin(new RDLRuntimeModule, new RDLIdeModule, new RDLWebModule))
	}
	
}
