| /* |
| * generated by Xtext 2.11.0 |
| */ |
| package org.eclipse.osbp.xtext.chart.ide; |
| |
| import com.google.inject.Guice; |
| import com.google.inject.Injector; |
| import org.eclipse.osbp.xtext.chart.ChartDSLRuntimeModule; |
| import org.eclipse.osbp.xtext.chart.ChartDSLStandaloneSetup; |
| import org.eclipse.xtext.util.Modules2; |
| |
| /** |
| * Initialization support for running Xtext languages as language servers. |
| */ |
| public class ChartDSLIdeSetup extends ChartDSLStandaloneSetup { |
| |
| @Override |
| public Injector createInjector() { |
| return Guice.createInjector(Modules2.mixin(new ChartDSLRuntimeModule(), new ChartDSLIdeModule())); |
| } |
| |
| } |