|
| 1 | +/* |
| 2 | + * generated by Xtext 2.25.0 |
| 3 | + */ |
| 4 | +package de.fraunhofer.ipa.ros2.ide; |
| 5 | + |
| 6 | +import com.google.inject.Binder; |
| 7 | +import com.google.inject.name.Names; |
| 8 | +import de.fraunhofer.ipa.ros2.ide.contentassist.antlr.Ros2Parser; |
| 9 | +import de.fraunhofer.ipa.ros2.ide.contentassist.antlr.lexer.InternalRos2Lexer; |
| 10 | +import org.eclipse.xtext.ide.DefaultIdeModule; |
| 11 | +import org.eclipse.xtext.ide.LexerIdeBindings; |
| 12 | +import org.eclipse.xtext.ide.editor.contentassist.CompletionPrefixProvider; |
| 13 | +import org.eclipse.xtext.ide.editor.contentassist.FQNPrefixMatcher; |
| 14 | +import org.eclipse.xtext.ide.editor.contentassist.IPrefixMatcher; |
| 15 | +import org.eclipse.xtext.ide.editor.contentassist.IProposalConflictHelper; |
| 16 | +import org.eclipse.xtext.ide.editor.contentassist.IndentationAwareCompletionPrefixProvider; |
| 17 | +import org.eclipse.xtext.ide.editor.contentassist.antlr.AntlrProposalConflictHelper; |
| 18 | +import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; |
| 19 | +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; |
| 20 | +import org.eclipse.xtext.ide.refactoring.IRenameStrategy2; |
| 21 | +import org.eclipse.xtext.ide.server.rename.IRenameService2; |
| 22 | +import org.eclipse.xtext.ide.server.rename.RenameService2; |
| 23 | + |
| 24 | +/** |
| 25 | + * Manual modifications go to {@link Ros2IdeModule}. |
| 26 | + */ |
| 27 | +@SuppressWarnings("all") |
| 28 | +public abstract class AbstractRos2IdeModule extends DefaultIdeModule { |
| 29 | + |
| 30 | + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
| 31 | + public void configureContentAssistLexer(Binder binder) { |
| 32 | + binder.bind(Lexer.class) |
| 33 | + .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST)) |
| 34 | + .to(InternalRos2Lexer.class); |
| 35 | + } |
| 36 | + |
| 37 | + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
| 38 | + public Class<? extends IContentAssistParser> bindIContentAssistParser() { |
| 39 | + return Ros2Parser.class; |
| 40 | + } |
| 41 | + |
| 42 | + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
| 43 | + public Class<? extends IProposalConflictHelper> bindIProposalConflictHelper() { |
| 44 | + return AntlrProposalConflictHelper.class; |
| 45 | + } |
| 46 | + |
| 47 | + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
| 48 | + public Class<? extends CompletionPrefixProvider> bindCompletionPrefixProvider() { |
| 49 | + return IndentationAwareCompletionPrefixProvider.class; |
| 50 | + } |
| 51 | + |
| 52 | + // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 |
| 53 | + public Class<? extends IPrefixMatcher> bindIPrefixMatcher() { |
| 54 | + return FQNPrefixMatcher.class; |
| 55 | + } |
| 56 | + |
| 57 | + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 |
| 58 | + public Class<? extends IRenameService2> bindIRenameService2() { |
| 59 | + return RenameService2.class; |
| 60 | + } |
| 61 | + |
| 62 | + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 |
| 63 | + public Class<? extends IRenameStrategy2> bindIRenameStrategy2() { |
| 64 | + return IRenameStrategy2.DefaultImpl.class; |
| 65 | + } |
| 66 | + |
| 67 | +} |
0 commit comments