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

org.contextmapper.servicecutter.dsl.ide.AbstractServiceCutterConfigurationDSLIdeModule Maven / Gradle / Ivy

Go to download

Use the ContextMapper language server (LSP) to integrate the ContextMapper DSL within your IDE.

There is a newer version: 6.12.0
Show newest version
/*
 * generated by Xtext 2.20.0
 */
package org.contextmapper.servicecutter.dsl.ide;

import com.google.inject.Binder;
import com.google.inject.name.Names;
import org.contextmapper.servicecutter.dsl.ide.contentassist.antlr.ServiceCutterConfigurationDSLParser;
import org.contextmapper.servicecutter.dsl.ide.contentassist.antlr.internal.InternalServiceCutterConfigurationDSLLexer;
import org.eclipse.xtext.ide.DefaultIdeModule;
import org.eclipse.xtext.ide.LexerIdeBindings;
import org.eclipse.xtext.ide.editor.contentassist.FQNPrefixMatcher;
import org.eclipse.xtext.ide.editor.contentassist.IPrefixMatcher;
import org.eclipse.xtext.ide.editor.contentassist.IProposalConflictHelper;
import org.eclipse.xtext.ide.editor.contentassist.antlr.AntlrProposalConflictHelper;
import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser;
import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
import org.eclipse.xtext.ide.refactoring.IRenameStrategy2;
import org.eclipse.xtext.ide.server.rename.IRenameService2;
import org.eclipse.xtext.ide.server.rename.RenameService2;

/**
 * Manual modifications go to {@link ServiceCutterConfigurationDSLIdeModule}.
 */
@SuppressWarnings("all")
public abstract class AbstractServiceCutterConfigurationDSLIdeModule extends DefaultIdeModule {

	// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
	public void configureContentAssistLexer(Binder binder) {
		binder.bind(Lexer.class)
			.annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST))
			.to(InternalServiceCutterConfigurationDSLLexer.class);
	}
	
	// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
	public Class bindIContentAssistParser() {
		return ServiceCutterConfigurationDSLParser.class;
	}
	
	// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
	public Class bindIProposalConflictHelper() {
		return AntlrProposalConflictHelper.class;
	}
	
	// contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2
	public Class bindIPrefixMatcher() {
		return FQNPrefixMatcher.class;
	}
	
	// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
	public Class bindIRenameService2() {
		return RenameService2.class;
	}
	
	// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
	public Class bindIRenameStrategy2() {
		return IRenameStrategy2.DefaultImpl.class;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy