aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/AbstractApplicationConfigurationUiModule.java
diff options
context:
space:
mode:
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.java280
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 */
4package hu.bme.mit.inf.dslreasoner.application.ui;
5
6import com.google.inject.Binder;
7import com.google.inject.Provider;
8import com.google.inject.name.Names;
9import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.ApplicationConfigurationParser;
10import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.PartialApplicationConfigurationContentAssistParser;
11import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal.InternalApplicationConfigurationLexer;
12import hu.bme.mit.inf.dslreasoner.application.ui.contentassist.ApplicationConfigurationProposalProvider;
13import hu.bme.mit.inf.dslreasoner.application.ui.labeling.ApplicationConfigurationDescriptionLabelProvider;
14import hu.bme.mit.inf.dslreasoner.application.ui.labeling.ApplicationConfigurationLabelProvider;
15import hu.bme.mit.inf.dslreasoner.application.ui.outline.ApplicationConfigurationOutlineTreeProvider;
16import hu.bme.mit.inf.dslreasoner.application.ui.quickfix.ApplicationConfigurationQuickfixProvider;
17import org.eclipse.compare.IViewerCreator;
18import org.eclipse.core.resources.IWorkspaceRoot;
19import org.eclipse.core.resources.ResourcesPlugin;
20import org.eclipse.jface.viewers.ILabelProvider;
21import org.eclipse.ui.plugin.AbstractUIPlugin;
22import org.eclipse.xtext.builder.BuilderParticipant;
23import org.eclipse.xtext.builder.EclipseOutputConfigurationProvider;
24import org.eclipse.xtext.builder.IXtextBuilderParticipant;
25import org.eclipse.xtext.builder.builderState.IBuilderState;
26import org.eclipse.xtext.builder.clustering.CurrentDescriptions;
27import org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource;
28import org.eclipse.xtext.builder.nature.NatureAddingEditorCallback;
29import org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess;
30import org.eclipse.xtext.generator.IContextualOutputConfigurationProvider;
31import org.eclipse.xtext.ide.LexerIdeBindings;
32import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser;
33import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
34import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser;
35import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider;
36import org.eclipse.xtext.parser.antlr.ITokenDefProvider;
37import org.eclipse.xtext.parser.antlr.LexerProvider;
38import org.eclipse.xtext.resource.IResourceDescriptions;
39import org.eclipse.xtext.resource.containers.IAllContainersState;
40import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider;
41import org.eclipse.xtext.service.SingletonBinding;
42import org.eclipse.xtext.ui.DefaultUiModule;
43import org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator;
44import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialEditingContentAssistContextFactory;
45import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.PartialEditingContentAssistContextFactory;
46import org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage;
47import org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration;
48import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar;
49import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry;
50import org.eclipse.xtext.ui.compare.DefaultViewerCreator;
51import org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource;
52import org.eclipse.xtext.ui.editor.IXtextEditorCallback;
53import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
54import org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher;
55import org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider;
56import org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper;
57import org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher;
58import org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper;
59import org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory;
60import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider;
61import org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider;
62import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer;
63import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider;
64import org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage;
65import org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator;
66import org.eclipse.xtext.ui.refactoring.IReferenceUpdater;
67import org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider;
68import org.eclipse.xtext.ui.refactoring.IRenameStrategy;
69import org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator;
70import org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater;
71import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider;
72import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy;
73import org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport;
74import org.eclipse.xtext.ui.refactoring.ui.IRenameSupport;
75import org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences;
76import org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider;
77import org.eclipse.xtext.ui.shared.Access;
78
79/**
80 * Manual modifications go to {@link ApplicationConfigurationUiModule}.
81 */
82@SuppressWarnings("all")
83public 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}