2017-09-12 12:48:21 +02:00
|
|
|
/**
|
2018-06-02 23:41:27 +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.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 as language servers.
|
|
|
|
*/
|
|
|
|
@SuppressWarnings("all")
|
|
|
|
public class RDLIdeSetup extends RDLStandaloneSetup {
|
|
|
|
@Override
|
|
|
|
public Injector createInjector() {
|
|
|
|
RDLRuntimeModule _rDLRuntimeModule = new RDLRuntimeModule();
|
|
|
|
RDLIdeModule _rDLIdeModule = new RDLIdeModule();
|
|
|
|
return Guice.createInjector(Modules2.mixin(_rDLRuntimeModule, _rDLIdeModule));
|
|
|
|
}
|
|
|
|
}
|