projet-genie-logiciel-systeme/workspace/fr.n7.game.ide/src-gen/fr/n7/ide/AbstractGAMEIdeModule.java

61 lines
2.4 KiB
Java
Raw Normal View History

2021-11-30 17:25:45 +00:00
/*
* generated by Xtext 2.23.0
*/
2021-12-03 07:37:31 +00:00
package fr.n7.ide;
2021-11-30 17:25:45 +00:00
import com.google.inject.Binder;
import com.google.inject.name.Names;
2021-12-03 07:37:31 +00:00
import fr.n7.ide.contentassist.antlr.GAMEParser;
import fr.n7.ide.contentassist.antlr.internal.InternalGAMELexer;
2021-11-30 17:25:45 +00:00
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;
/**
2021-12-03 07:37:31 +00:00
* Manual modifications go to {@link GAMEIdeModule}.
2021-11-30 17:25:45 +00:00
*/
@SuppressWarnings("all")
2021-12-03 07:37:31 +00:00
public abstract class AbstractGAMEIdeModule extends DefaultIdeModule {
2021-11-30 17:25:45 +00:00
// 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))
2021-12-03 07:37:31 +00:00
.to(InternalGAMELexer.class);
2021-11-30 17:25:45 +00:00
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IContentAssistParser> bindIContentAssistParser() {
2021-12-03 07:37:31 +00:00
return GAMEParser.class;
2021-11-30 17:25:45 +00:00
}
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
public Class<? extends IProposalConflictHelper> bindIProposalConflictHelper() {
return AntlrProposalConflictHelper.class;
}
// contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2
public Class<? extends IPrefixMatcher> bindIPrefixMatcher() {
return FQNPrefixMatcher.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
public Class<? extends IRenameService2> bindIRenameService2() {
return RenameService2.class;
}
// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
public Class<? extends IRenameStrategy2> bindIRenameStrategy2() {
return IRenameStrategy2.DefaultImpl.class;
}
}