diff options
Diffstat (limited to 'org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/AbstractProblemIdeModule.java')
-rw-r--r-- | org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/AbstractProblemIdeModule.java | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/AbstractProblemIdeModule.java b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/AbstractProblemIdeModule.java new file mode 100644 index 00000000..a44461f9 --- /dev/null +++ b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/AbstractProblemIdeModule.java | |||
@@ -0,0 +1,60 @@ | |||
1 | /* | ||
2 | * generated by Xtext 2.26.0.M1 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.ide; | ||
5 | |||
6 | import com.google.inject.Binder; | ||
7 | import com.google.inject.name.Names; | ||
8 | import org.eclipse.viatra.solver.language.ide.contentassist.antlr.ProblemParser; | ||
9 | import org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal.InternalProblemLexer; | ||
10 | import org.eclipse.xtext.ide.DefaultIdeModule; | ||
11 | import org.eclipse.xtext.ide.LexerIdeBindings; | ||
12 | import org.eclipse.xtext.ide.editor.contentassist.FQNPrefixMatcher; | ||
13 | import org.eclipse.xtext.ide.editor.contentassist.IPrefixMatcher; | ||
14 | import org.eclipse.xtext.ide.editor.contentassist.IProposalConflictHelper; | ||
15 | import org.eclipse.xtext.ide.editor.contentassist.antlr.AntlrProposalConflictHelper; | ||
16 | import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; | ||
17 | import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; | ||
18 | import org.eclipse.xtext.ide.refactoring.IRenameStrategy2; | ||
19 | import org.eclipse.xtext.ide.server.rename.IRenameService2; | ||
20 | import org.eclipse.xtext.ide.server.rename.RenameService2; | ||
21 | |||
22 | /** | ||
23 | * Manual modifications go to {@link ProblemIdeModule}. | ||
24 | */ | ||
25 | @SuppressWarnings("all") | ||
26 | public abstract class AbstractProblemIdeModule extends DefaultIdeModule { | ||
27 | |||
28 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | ||
29 | public void configureContentAssistLexer(Binder binder) { | ||
30 | binder.bind(Lexer.class) | ||
31 | .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST)) | ||
32 | .to(InternalProblemLexer.class); | ||
33 | } | ||
34 | |||
35 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | ||
36 | public Class<? extends IContentAssistParser> bindIContentAssistParser() { | ||
37 | return ProblemParser.class; | ||
38 | } | ||
39 | |||
40 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | ||
41 | public Class<? extends IProposalConflictHelper> bindIProposalConflictHelper() { | ||
42 | return AntlrProposalConflictHelper.class; | ||
43 | } | ||
44 | |||
45 | // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 | ||
46 | public Class<? extends IPrefixMatcher> bindIPrefixMatcher() { | ||
47 | return FQNPrefixMatcher.class; | ||
48 | } | ||
49 | |||
50 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 | ||
51 | public Class<? extends IRenameService2> bindIRenameService2() { | ||
52 | return RenameService2.class; | ||
53 | } | ||
54 | |||
55 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 | ||
56 | public Class<? extends IRenameStrategy2> bindIRenameStrategy2() { | ||
57 | return IRenameStrategy2.DefaultImpl.class; | ||
58 | } | ||
59 | |||
60 | } | ||