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