blob: e9caa34c8d98c0dfb8a32ef71a2812d6be58ef38 [file] [log] [blame]
/**
* Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf, Austria), 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:
* Florian Pirchner - Initial implementation
*/
package org.eclipse.osbp.dsl.common.xtext;
import org.eclipse.xtext.linking.ILinkingService;
import org.eclipse.osbp.dsl.xtext.lazyresolver.SemanticLoadingResource;
import org.eclipse.osbp.dsl.xtext.lazyresolver.linker.FastLinkingService;
/**
* Use this class to register components to be used at runtime / without the
* Equinox extension registry.
*/
public class CommonGrammarRuntimeModule extends
org.eclipse.osbp.dsl.common.xtext.AbstractCommonGrammarRuntimeModule {
public Class<? extends org.eclipse.xtext.resource.XtextResource> bindXtextResource() {
return SemanticLoadingResource.class;
}
public Class<? extends ILinkingService> bindILinkingService() {
return FastLinkingService.class;
}
}