2017-09-12 12:48:21 +02:00
|
|
|
/*
|
2018-06-02 18:41:09 +02:00
|
|
|
* generated by Xtext 2.13.0
|
2017-09-12 12:48:21 +02:00
|
|
|
*/
|
|
|
|
package com.minres.rdl.ide;
|
|
|
|
|
|
|
|
import com.google.inject.Binder;
|
|
|
|
import com.google.inject.name.Names;
|
|
|
|
import com.minres.rdl.ide.contentassist.antlr.RDLParser;
|
|
|
|
import com.minres.rdl.ide.contentassist.antlr.internal.InternalRDLLexer;
|
|
|
|
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;
|
2018-06-02 18:41:09 +02:00
|
|
|
import org.eclipse.xtext.ide.refactoring.IRenameStrategy2;
|
|
|
|
import org.eclipse.xtext.ide.server.rename.IRenameService;
|
|
|
|
import org.eclipse.xtext.ide.server.rename.RenameService;
|
2017-09-12 12:48:21 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Manual modifications go to {@link RDLIdeModule}.
|
|
|
|
*/
|
|
|
|
@SuppressWarnings("all")
|
|
|
|
public abstract class AbstractRDLIdeModule 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(InternalRDLLexer.class);
|
|
|
|
}
|
|
|
|
|
|
|
|
// contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
|
|
|
|
public Class<? extends IContentAssistParser> bindIContentAssistParser() {
|
|
|
|
return RDLParser.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;
|
|
|
|
}
|
|
|
|
|
2018-06-02 18:41:09 +02:00
|
|
|
// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
|
|
|
|
public Class<? extends IRenameService> bindIRenameService() {
|
|
|
|
return RenameService.class;
|
|
|
|
}
|
|
|
|
|
|
|
|
// contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2
|
|
|
|
public Class<? extends IRenameStrategy2> bindIRenameStrategy2() {
|
|
|
|
return IRenameStrategy2.DefaultImpl.class;
|
|
|
|
}
|
|
|
|
|
2017-09-12 12:48:21 +02:00
|
|
|
}
|