RDL-Editor/com.minres.rdl.parent/com.minres.rdl.ide/src/com/minres/rdl/ide/RDLIdeSetup.xtend

21 lines
461 B
Plaintext
Raw Normal View History

2017-09-12 12:48:21 +02:00
/*
* generated by Xtext 2.14.0
2017-09-12 12:48:21 +02:00
*/
package com.minres.rdl.ide
import com.google.inject.Guice
import com.minres.rdl.RDLRuntimeModule
import com.minres.rdl.RDLStandaloneSetup
import org.eclipse.xtext.util.Modules2
/**
* Initialization support for running Xtext languages as language servers.
*/
class RDLIdeSetup extends RDLStandaloneSetup {
override createInjector() {
Guice.createInjector(Modules2.mixin(new RDLRuntimeModule, new RDLIdeModule))
}
}