diff options
Diffstat (limited to 'Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/src-gen/ca/mcgill/ecse/dslreasoner/ui/AbstractVampireLanguageUiModule.java')
-rw-r--r-- | Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/src-gen/ca/mcgill/ecse/dslreasoner/ui/AbstractVampireLanguageUiModule.java | 286 |
1 files changed, 286 insertions, 0 deletions
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/src-gen/ca/mcgill/ecse/dslreasoner/ui/AbstractVampireLanguageUiModule.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/src-gen/ca/mcgill/ecse/dslreasoner/ui/AbstractVampireLanguageUiModule.java new file mode 100644 index 00000000..3a6cc964 --- /dev/null +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/src-gen/ca/mcgill/ecse/dslreasoner/ui/AbstractVampireLanguageUiModule.java | |||
@@ -0,0 +1,286 @@ | |||
1 | /* | ||
2 | * generated by Xtext 2.12.0 | ||
3 | */ | ||
4 | package ca.mcgill.ecse.dslreasoner.ui; | ||
5 | |||
6 | import ca.mcgill.ecse.dslreasoner.ide.contentassist.antlr.PartialVampireLanguageContentAssistParser; | ||
7 | import ca.mcgill.ecse.dslreasoner.ide.contentassist.antlr.VampireLanguageParser; | ||
8 | import ca.mcgill.ecse.dslreasoner.ide.contentassist.antlr.internal.InternalVampireLanguageLexer; | ||
9 | import ca.mcgill.ecse.dslreasoner.ui.contentassist.VampireLanguageProposalProvider; | ||
10 | import ca.mcgill.ecse.dslreasoner.ui.labeling.VampireLanguageDescriptionLabelProvider; | ||
11 | import ca.mcgill.ecse.dslreasoner.ui.labeling.VampireLanguageLabelProvider; | ||
12 | import ca.mcgill.ecse.dslreasoner.ui.outline.VampireLanguageOutlineTreeProvider; | ||
13 | import ca.mcgill.ecse.dslreasoner.ui.quickfix.VampireLanguageQuickfixProvider; | ||
14 | import com.google.inject.Binder; | ||
15 | import com.google.inject.Provider; | ||
16 | import com.google.inject.name.Names; | ||
17 | import org.eclipse.compare.IViewerCreator; | ||
18 | import org.eclipse.core.resources.IWorkspaceRoot; | ||
19 | import org.eclipse.core.resources.ResourcesPlugin; | ||
20 | import org.eclipse.jface.viewers.ILabelProvider; | ||
21 | import org.eclipse.ui.plugin.AbstractUIPlugin; | ||
22 | import org.eclipse.xtext.builder.BuilderParticipant; | ||
23 | import org.eclipse.xtext.builder.EclipseOutputConfigurationProvider; | ||
24 | import org.eclipse.xtext.builder.IXtextBuilderParticipant; | ||
25 | import org.eclipse.xtext.builder.builderState.IBuilderState; | ||
26 | import org.eclipse.xtext.builder.clustering.CurrentDescriptions; | ||
27 | import org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource; | ||
28 | import org.eclipse.xtext.builder.nature.NatureAddingEditorCallback; | ||
29 | import org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess; | ||
30 | import org.eclipse.xtext.generator.IContextualOutputConfigurationProvider; | ||
31 | import org.eclipse.xtext.ide.LexerIdeBindings; | ||
32 | import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; | ||
33 | import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; | ||
34 | import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; | ||
35 | import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; | ||
36 | import org.eclipse.xtext.parser.antlr.ITokenDefProvider; | ||
37 | import org.eclipse.xtext.parser.antlr.LexerProvider; | ||
38 | import org.eclipse.xtext.resource.IResourceDescriptions; | ||
39 | import org.eclipse.xtext.resource.containers.IAllContainersState; | ||
40 | import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; | ||
41 | import org.eclipse.xtext.service.SingletonBinding; | ||
42 | import org.eclipse.xtext.ui.DefaultUiModule; | ||
43 | import org.eclipse.xtext.ui.UIBindings; | ||
44 | import org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator; | ||
45 | import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialEditingContentAssistContextFactory; | ||
46 | import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.PartialEditingContentAssistContextFactory; | ||
47 | import org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage; | ||
48 | import org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration; | ||
49 | import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar; | ||
50 | import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry; | ||
51 | import org.eclipse.xtext.ui.compare.DefaultViewerCreator; | ||
52 | import org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource; | ||
53 | import org.eclipse.xtext.ui.editor.IXtextEditorCallback; | ||
54 | import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; | ||
55 | import org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher; | ||
56 | import org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider; | ||
57 | import org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper; | ||
58 | import org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher; | ||
59 | import org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper; | ||
60 | import org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory; | ||
61 | import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; | ||
62 | import org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider; | ||
63 | import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; | ||
64 | import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider; | ||
65 | import org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage; | ||
66 | import org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator; | ||
67 | import org.eclipse.xtext.ui.refactoring.IReferenceUpdater; | ||
68 | import org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider; | ||
69 | import org.eclipse.xtext.ui.refactoring.IRenameStrategy; | ||
70 | import org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator; | ||
71 | import org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater; | ||
72 | import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider; | ||
73 | import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy; | ||
74 | import org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport; | ||
75 | import org.eclipse.xtext.ui.refactoring.ui.IRenameSupport; | ||
76 | import org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences; | ||
77 | import org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider; | ||
78 | import org.eclipse.xtext.ui.shared.Access; | ||
79 | |||
80 | /** | ||
81 | * Manual modifications go to {@link VampireLanguageUiModule}. | ||
82 | */ | ||
83 | @SuppressWarnings("all") | ||
84 | public abstract class AbstractVampireLanguageUiModule extends DefaultUiModule { | ||
85 | |||
86 | public AbstractVampireLanguageUiModule(AbstractUIPlugin plugin) { | ||
87 | super(plugin); | ||
88 | } | ||
89 | |||
90 | // contributed by org.eclipse.xtext.xtext.generator.ImplicitFragment | ||
91 | public Provider<? extends IAllContainersState> provideIAllContainersState() { | ||
92 | return Access.getJavaProjectsState(); | ||
93 | } | ||
94 | |||
95 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | ||
96 | public Class<? extends IProposalConflictHelper> bindIProposalConflictHelper() { | ||
97 | return AntlrProposalConflictHelper.class; | ||
98 | } | ||
99 | |||
100 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | ||
101 | public void configureContentAssistLexer(Binder binder) { | ||
102 | binder.bind(Lexer.class) | ||
103 | .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST)) | ||
104 | .to(InternalVampireLanguageLexer.class); | ||
105 | } | ||
106 | |||
107 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | ||
108 | public void configureHighlightingLexer(Binder binder) { | ||
109 | binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class) | ||
110 | .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) | ||
111 | .to(ca.mcgill.ecse.dslreasoner.parser.antlr.internal.InternalVampireLanguageLexer.class); | ||
112 | } | ||
113 | |||
114 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | ||
115 | public void configureHighlightingTokenDefProvider(Binder binder) { | ||
116 | binder.bind(ITokenDefProvider.class) | ||
117 | .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) | ||
118 | .to(AntlrTokenDefProvider.class); | ||
119 | } | ||
120 | |||
121 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | ||
122 | public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() { | ||
123 | return DelegatingContentAssistContextFactory.class; | ||
124 | } | ||
125 | |||
126 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | ||
127 | public Class<? extends IContentAssistParser> bindIContentAssistParser() { | ||
128 | return VampireLanguageParser.class; | ||
129 | } | ||
130 | |||
131 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | ||
132 | public void configureContentAssistLexerProvider(Binder binder) { | ||
133 | binder.bind(InternalVampireLanguageLexer.class).toProvider(LexerProvider.create(InternalVampireLanguageLexer.class)); | ||
134 | } | ||
135 | |||
136 | // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 | ||
137 | public Class<? extends PrefixMatcher> bindPrefixMatcher() { | ||
138 | return FQNPrefixMatcher.class; | ||
139 | } | ||
140 | |||
141 | // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 | ||
142 | public Class<? extends IDependentElementsCalculator> bindIDependentElementsCalculator() { | ||
143 | return DefaultDependentElementsCalculator.class; | ||
144 | } | ||
145 | |||
146 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | ||
147 | public void configureIResourceDescriptionsBuilderScope(Binder binder) { | ||
148 | binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(CurrentDescriptions.ResourceSetAware.class); | ||
149 | } | ||
150 | |||
151 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | ||
152 | public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() { | ||
153 | return NatureAddingEditorCallback.class; | ||
154 | } | ||
155 | |||
156 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | ||
157 | public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() { | ||
158 | return EclipseOutputConfigurationProvider.class; | ||
159 | } | ||
160 | |||
161 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | ||
162 | public void configureIResourceDescriptionsPersisted(Binder binder) { | ||
163 | binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(IBuilderState.class); | ||
164 | } | ||
165 | |||
166 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | ||
167 | public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() { | ||
168 | return PersistentDataAwareDirtyResource.class; | ||
169 | } | ||
170 | |||
171 | // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 | ||
172 | public Class<? extends IXtextBuilderParticipant> bindIXtextBuilderParticipant() { | ||
173 | return BuilderParticipant.class; | ||
174 | } | ||
175 | |||
176 | // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 | ||
177 | public IWorkspaceRoot bindIWorkspaceRootToInstance() { | ||
178 | return ResourcesPlugin.getWorkspace().getRoot(); | ||
179 | } | ||
180 | |||
181 | // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 | ||
182 | public void configureBuilderPreferenceStoreInitializer(Binder binder) { | ||
183 | binder.bind(IPreferenceStoreInitializer.class) | ||
184 | .annotatedWith(Names.named("builderPreferenceInitializer")) | ||
185 | .to(BuilderPreferenceAccess.Initializer.class); | ||
186 | } | ||
187 | |||
188 | // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 | ||
189 | public Class<? extends ILabelProvider> bindILabelProvider() { | ||
190 | return VampireLanguageLabelProvider.class; | ||
191 | } | ||
192 | |||
193 | // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 | ||
194 | public void configureResourceUIServiceLabelProvider(Binder binder) { | ||
195 | binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(VampireLanguageDescriptionLabelProvider.class); | ||
196 | } | ||
197 | |||
198 | // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 | ||
199 | public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() { | ||
200 | return VampireLanguageOutlineTreeProvider.class; | ||
201 | } | ||
202 | |||
203 | // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 | ||
204 | public Class<? extends IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() { | ||
205 | return VampireLanguageOutlineTreeProvider.class; | ||
206 | } | ||
207 | |||
208 | // contributed by org.eclipse.xtext.xtext.generator.ui.quickfix.QuickfixProviderFragment2 | ||
209 | public Class<? extends IssueResolutionProvider> bindIssueResolutionProvider() { | ||
210 | return VampireLanguageQuickfixProvider.class; | ||
211 | } | ||
212 | |||
213 | // contributed by org.eclipse.xtext.xtext.generator.ui.contentAssist.ContentAssistFragment2 | ||
214 | public Class<? extends IContentProposalProvider> bindIContentProposalProvider() { | ||
215 | return VampireLanguageProposalProvider.class; | ||
216 | } | ||
217 | |||
218 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 | ||
219 | public Class<? extends IRenameStrategy> bindIRenameStrategy() { | ||
220 | return DefaultRenameStrategy.class; | ||
221 | } | ||
222 | |||
223 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 | ||
224 | public Class<? extends IReferenceUpdater> bindIReferenceUpdater() { | ||
225 | return DefaultReferenceUpdater.class; | ||
226 | } | ||
227 | |||
228 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 | ||
229 | public void configureIPreferenceStoreInitializer(Binder binder) { | ||
230 | binder.bind(IPreferenceStoreInitializer.class) | ||
231 | .annotatedWith(Names.named("RefactoringPreferences")) | ||
232 | .to(RefactoringPreferences.Initializer.class); | ||
233 | } | ||
234 | |||
235 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 | ||
236 | public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() { | ||
237 | return DefaultRenameRefactoringProvider.class; | ||
238 | } | ||
239 | |||
240 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 | ||
241 | public Class<? extends IRenameSupport.Factory> bindIRenameSupport$Factory() { | ||
242 | return DefaultRenameSupport.Factory.class; | ||
243 | } | ||
244 | |||
245 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 | ||
246 | public Provider<? extends TemplatesLanguageConfiguration> provideTemplatesLanguageConfiguration() { | ||
247 | return AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); | ||
248 | } | ||
249 | |||
250 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 | ||
251 | public Provider<? extends LanguageRegistry> provideLanguageRegistry() { | ||
252 | return AccessibleCodetemplatesActivator.getLanguageRegistry(); | ||
253 | } | ||
254 | |||
255 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 | ||
256 | @SingletonBinding(eager=true) | ||
257 | public Class<? extends LanguageRegistrar> bindLanguageRegistrar() { | ||
258 | return LanguageRegistrar.class; | ||
259 | } | ||
260 | |||
261 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 | ||
262 | public Class<? extends XtextTemplatePreferencePage> bindXtextTemplatePreferencePage() { | ||
263 | return AdvancedTemplatesPreferencePage.class; | ||
264 | } | ||
265 | |||
266 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 | ||
267 | public Class<? extends IPartialEditingContentAssistParser> bindIPartialEditingContentAssistParser() { | ||
268 | return PartialVampireLanguageContentAssistParser.class; | ||
269 | } | ||
270 | |||
271 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 | ||
272 | public Class<? extends IPartialEditingContentAssistContextFactory> bindIPartialEditingContentAssistContextFactory() { | ||
273 | return PartialEditingContentAssistContextFactory.class; | ||
274 | } | ||
275 | |||
276 | // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 | ||
277 | public Class<? extends IViewerCreator> bindIViewerCreator() { | ||
278 | return DefaultViewerCreator.class; | ||
279 | } | ||
280 | |||
281 | // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 | ||
282 | public void configureCompareViewerTitle(Binder binder) { | ||
283 | binder.bind(String.class).annotatedWith(Names.named(UIBindings.COMPARE_VIEWER_TITLE)).toInstance("VampireLanguage Compare"); | ||
284 | } | ||
285 | |||
286 | } | ||