mirror of
https://github.com/Minres/RDL-Editor.git
synced 2025-07-01 13:33:27 +02:00
Iniital checkin
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* generated by Xtext 2.12.0
|
||||
*/
|
||||
package com.minres.rdl.ide;
|
||||
|
||||
import com.minres.rdl.ide.AbstractRDLIdeModule;
|
||||
|
||||
/**
|
||||
* Use this class to register ide components.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
public class RDLIdeModule extends AbstractRDLIdeModule {
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
/**
|
||||
* 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));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user