mirror of
https://github.com/Minres/RDL-Editor.git
synced 2024-12-22 23:28:02 +01:00
25 lines
714 B
Java
25 lines
714 B
Java
/**
|
|
* generated by Xtext 2.12.0
|
|
*/
|
|
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));
|
|
}
|
|
}
|