All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mod4j.dsl.presentation.xtext.AbstractPresentationRuntimeModule Maven / Gradle / Ivy

The newest version!

/*
 * generated by Xtext
 */
package org.mod4j.dsl.presentation.xtext;

import org.eclipse.xtext.Constants;
import org.eclipse.xtext.service.DefaultRuntimeModule;

import com.google.inject.Binder;
import com.google.inject.name.Names;

/**
 * Manual modifications go to {org.mod4j.dsl.presentation.xtext.PresentationRuntimeModule}
 */
public abstract class AbstractPresentationRuntimeModule extends DefaultRuntimeModule {
	
	@Override
	public void configure(Binder binder) {
		super.configure(binder);
		binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance(
			"org.mod4j.dsl.presentation.xtext.Presentation");
	}
	
	
	// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
	public Class bindIGrammarAccess() {
		return org.mod4j.dsl.presentation.xtext.services.PresentationGrammarAccess.class;
	}

	// contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment
	public Class bindIParseTreeConstructor() {
		return org.mod4j.dsl.presentation.xtext.parseTreeConstruction.PresentationParsetreeConstructor.class;
	}

	// contributed by org.eclipse.xtext.generator.validation.CheckFragment
	public Class bindExecutionContext() {
		return org.eclipse.xtext.xtend.InjectableExecutionContext.class;
	}

	// contributed by org.eclipse.xtext.generator.validation.CheckFragment
	public Class bindResourceManager() {
		return org.eclipse.xtext.xtend.InjectableResourceManager.class;
	}

	// contributed by org.eclipse.xtext.generator.validation.CheckFragment
	public java.lang.ClassLoader bindClassLoaderToInstance() {
		return AbstractPresentationRuntimeModule.class.getClassLoader();
	}

	// contributed by org.eclipse.xtext.generator.validation.CheckFragment
	@org.eclipse.xtext.service.SingletonBinding(eager=true)	public Class bindPresentationCheckValidator() {
		return org.mod4j.dsl.presentation.xtext.validation.PresentationCheckValidator.class;
	}

	// contributed by de.itemis.xtext.antlr.XtextAntlrGeneratorFragment
	public Class bindIAntlrParser() {
		return org.mod4j.dsl.presentation.xtext.parser.antlr.PresentationParser.class;
	}

	// contributed by de.itemis.xtext.antlr.XtextAntlrGeneratorFragment
	public Class bindITokenToStringConverter() {
		return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
	}

	// contributed by de.itemis.xtext.antlr.XtextAntlrGeneratorFragment
	public Class bindIAntlrTokenFileProvider() {
		return org.mod4j.dsl.presentation.xtext.parser.antlr.PresentationAntlrTokenFileProvider.class;
	}

	// contributed by de.itemis.xtext.antlr.XtextAntlrGeneratorFragment
	public Class bindLexer() {
		return org.mod4j.dsl.presentation.xtext.parser.antlr.internal.InternalPresentationLexer.class;
	}

	// contributed by de.itemis.xtext.antlr.XtextAntlrGeneratorFragment
	public Class bindITokenDefProvider() {
		return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
	}

	// contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment
	@org.eclipse.xtext.service.SingletonBinding(eager=true)	public Class bindPresentationJavaValidator() {
		return org.mod4j.dsl.presentation.xtext.validation.PresentationJavaValidator.class;
	}

	// contributed by org.eclipse.xtext.generator.scoping.JavaScopingFragment
	public Class bindIScopeProvider() {
		return org.mod4j.dsl.presentation.xtext.scoping.PresentationScopeProvider.class;
	}

	// contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
	public Class bindIFormatter() {
		return org.mod4j.dsl.presentation.xtext.formatting.PresentationFormatter.class;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy