You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.9 KiB
47 lines
1.9 KiB
/* |
|
* generated by Xtext 2.12.0 |
|
*/ |
|
package com.irtsaintexupery.xtext.ide; |
|
|
|
import com.google.inject.Binder; |
|
import com.google.inject.name.Names; |
|
import com.irtsaintexupery.xtext.ide.contentassist.antlr.PseimParser; |
|
import com.irtsaintexupery.xtext.ide.contentassist.antlr.internal.InternalPseimLexer; |
|
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; |
|
|
|
/** |
|
* Manual modifications go to {@link PseimIdeModule}. |
|
*/ |
|
@SuppressWarnings("all") |
|
public abstract class AbstractPseimIdeModule 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(InternalPseimLexer.class); |
|
} |
|
|
|
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
|
public Class<? extends IContentAssistParser> bindIContentAssistParser() { |
|
return PseimParser.class; |
|
} |
|
|
|
// 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; |
|
} |
|
|
|
}
|
|
|