blob: 7e705bf6dfa86fa65379a32ca00e17846dc51c11 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2018 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
* generated by Xtext 2.11.0
*
*/
package org.eclipse.osbp.xtext.signal.ide;
import com.google.inject.Guice;
import com.google.inject.Injector;
import org.eclipse.osbp.xtext.signal.SignalDSLRuntimeModule;
import org.eclipse.osbp.xtext.signal.SignalDSLStandaloneSetup;
import org.eclipse.xtext.util.Modules2;
/**
* Initialization support for running Xtext languages as language servers.
*/
public class SignalDSLIdeSetup extends SignalDSLStandaloneSetup {
@Override
public Injector createInjector() {
return Guice.createInjector(Modules2.mixin(new SignalDSLRuntimeModule(), new SignalDSLIdeModule()));
}
}