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