diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java | 402 |
1 files changed, 201 insertions, 201 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java index 9ac83bcd..dfa6c5ca 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java | |||
@@ -1,201 +1,201 @@ | |||
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; | 4 | package hu.bme.mit.inf.dslreasoner.application; |
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.generator.ApplicationConfigurationGenerator; | 9 | import hu.bme.mit.inf.dslreasoner.application.generator.ApplicationConfigurationGenerator; |
10 | import hu.bme.mit.inf.dslreasoner.application.parser.antlr.ApplicationConfigurationAntlrTokenFileProvider; | 10 | import hu.bme.mit.inf.dslreasoner.application.parser.antlr.ApplicationConfigurationAntlrTokenFileProvider; |
11 | import hu.bme.mit.inf.dslreasoner.application.parser.antlr.ApplicationConfigurationParser; | 11 | import hu.bme.mit.inf.dslreasoner.application.parser.antlr.ApplicationConfigurationParser; |
12 | import hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationLexer; | 12 | import hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationLexer; |
13 | import hu.bme.mit.inf.dslreasoner.application.scoping.ApplicationConfigurationScopeProvider; | 13 | import hu.bme.mit.inf.dslreasoner.application.scoping.ApplicationConfigurationScopeProvider; |
14 | import hu.bme.mit.inf.dslreasoner.application.serializer.ApplicationConfigurationSemanticSequencer; | 14 | import hu.bme.mit.inf.dslreasoner.application.serializer.ApplicationConfigurationSemanticSequencer; |
15 | import hu.bme.mit.inf.dslreasoner.application.serializer.ApplicationConfigurationSyntacticSequencer; | 15 | import hu.bme.mit.inf.dslreasoner.application.serializer.ApplicationConfigurationSyntacticSequencer; |
16 | import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; | 16 | import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; |
17 | import hu.bme.mit.inf.dslreasoner.application.validation.ApplicationConfigurationValidator; | 17 | import hu.bme.mit.inf.dslreasoner.application.validation.ApplicationConfigurationValidator; |
18 | import java.util.Properties; | 18 | import java.util.Properties; |
19 | import org.eclipse.xtext.Constants; | 19 | import org.eclipse.xtext.Constants; |
20 | import org.eclipse.xtext.IGrammarAccess; | 20 | import org.eclipse.xtext.IGrammarAccess; |
21 | import org.eclipse.xtext.generator.IGenerator2; | 21 | import org.eclipse.xtext.generator.IGenerator2; |
22 | import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider; | 22 | import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider; |
23 | import org.eclipse.xtext.naming.IQualifiedNameProvider; | 23 | import org.eclipse.xtext.naming.IQualifiedNameProvider; |
24 | import org.eclipse.xtext.parser.IParser; | 24 | import org.eclipse.xtext.parser.IParser; |
25 | import org.eclipse.xtext.parser.ITokenToStringConverter; | 25 | import org.eclipse.xtext.parser.ITokenToStringConverter; |
26 | import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; | 26 | import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; |
27 | import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter; | 27 | import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter; |
28 | import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; | 28 | import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; |
29 | import org.eclipse.xtext.parser.antlr.ITokenDefProvider; | 29 | import org.eclipse.xtext.parser.antlr.ITokenDefProvider; |
30 | import org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper; | 30 | import org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper; |
31 | import org.eclipse.xtext.parser.antlr.Lexer; | 31 | import org.eclipse.xtext.parser.antlr.Lexer; |
32 | import org.eclipse.xtext.parser.antlr.LexerBindings; | 32 | import org.eclipse.xtext.parser.antlr.LexerBindings; |
33 | import org.eclipse.xtext.parser.antlr.LexerProvider; | 33 | import org.eclipse.xtext.parser.antlr.LexerProvider; |
34 | import org.eclipse.xtext.parser.antlr.UnorderedGroupHelper; | 34 | import org.eclipse.xtext.parser.antlr.UnorderedGroupHelper; |
35 | import org.eclipse.xtext.resource.IContainer; | 35 | import org.eclipse.xtext.resource.IContainer; |
36 | import org.eclipse.xtext.resource.IResourceDescriptions; | 36 | import org.eclipse.xtext.resource.IResourceDescriptions; |
37 | import org.eclipse.xtext.resource.containers.IAllContainersState; | 37 | import org.eclipse.xtext.resource.containers.IAllContainersState; |
38 | import org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider; | 38 | import org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider; |
39 | import org.eclipse.xtext.resource.containers.StateBasedContainerManager; | 39 | import org.eclipse.xtext.resource.containers.StateBasedContainerManager; |
40 | import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; | 40 | import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; |
41 | import org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions; | 41 | import org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions; |
42 | import org.eclipse.xtext.scoping.IGlobalScopeProvider; | 42 | import org.eclipse.xtext.scoping.IGlobalScopeProvider; |
43 | import org.eclipse.xtext.scoping.IScopeProvider; | 43 | import org.eclipse.xtext.scoping.IScopeProvider; |
44 | import org.eclipse.xtext.scoping.IgnoreCaseLinking; | 44 | import org.eclipse.xtext.scoping.IgnoreCaseLinking; |
45 | import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; | 45 | import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; |
46 | import org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider; | 46 | import org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider; |
47 | import org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider; | 47 | import org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider; |
48 | import org.eclipse.xtext.serializer.ISerializer; | 48 | import org.eclipse.xtext.serializer.ISerializer; |
49 | import org.eclipse.xtext.serializer.impl.Serializer; | 49 | import org.eclipse.xtext.serializer.impl.Serializer; |
50 | import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; | 50 | import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; |
51 | import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer; | 51 | import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer; |
52 | import org.eclipse.xtext.service.DefaultRuntimeModule; | 52 | import org.eclipse.xtext.service.DefaultRuntimeModule; |
53 | import org.eclipse.xtext.service.SingletonBinding; | 53 | import org.eclipse.xtext.service.SingletonBinding; |
54 | 54 | ||
55 | /** | 55 | /** |
56 | * Manual modifications go to {@link ApplicationConfigurationRuntimeModule}. | 56 | * Manual modifications go to {@link ApplicationConfigurationRuntimeModule}. |
57 | */ | 57 | */ |
58 | @SuppressWarnings("all") | 58 | @SuppressWarnings("all") |
59 | public abstract class AbstractApplicationConfigurationRuntimeModule extends DefaultRuntimeModule { | 59 | public abstract class AbstractApplicationConfigurationRuntimeModule extends DefaultRuntimeModule { |
60 | 60 | ||
61 | protected Properties properties = null; | 61 | protected Properties properties = null; |
62 | 62 | ||
63 | @Override | 63 | @Override |
64 | public void configure(Binder binder) { | 64 | public void configure(Binder binder) { |
65 | properties = tryBindProperties(binder, "hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.properties"); | 65 | properties = tryBindProperties(binder, "hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.properties"); |
66 | super.configure(binder); | 66 | super.configure(binder); |
67 | } | 67 | } |
68 | 68 | ||
69 | public void configureLanguageName(Binder binder) { | 69 | public void configureLanguageName(Binder binder) { |
70 | binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration"); | 70 | binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration"); |
71 | } | 71 | } |
72 | 72 | ||
73 | public void configureFileExtensions(Binder binder) { | 73 | public void configureFileExtensions(Binder binder) { |
74 | if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) | 74 | if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) |
75 | binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("vsconfig"); | 75 | binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("vsconfig"); |
76 | } | 76 | } |
77 | 77 | ||
78 | // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 | 78 | // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 |
79 | public ClassLoader bindClassLoaderToInstance() { | 79 | public ClassLoader bindClassLoaderToInstance() { |
80 | return getClass().getClassLoader(); | 80 | return getClass().getClassLoader(); |
81 | } | 81 | } |
82 | 82 | ||
83 | // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 | 83 | // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 |
84 | public Class<? extends IGrammarAccess> bindIGrammarAccess() { | 84 | public Class<? extends IGrammarAccess> bindIGrammarAccess() { |
85 | return ApplicationConfigurationGrammarAccess.class; | 85 | return ApplicationConfigurationGrammarAccess.class; |
86 | } | 86 | } |
87 | 87 | ||
88 | // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 | 88 | // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 |
89 | public Class<? extends ISemanticSequencer> bindISemanticSequencer() { | 89 | public Class<? extends ISemanticSequencer> bindISemanticSequencer() { |
90 | return ApplicationConfigurationSemanticSequencer.class; | 90 | return ApplicationConfigurationSemanticSequencer.class; |
91 | } | 91 | } |
92 | 92 | ||
93 | // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 | 93 | // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 |
94 | public Class<? extends ISyntacticSequencer> bindISyntacticSequencer() { | 94 | public Class<? extends ISyntacticSequencer> bindISyntacticSequencer() { |
95 | return ApplicationConfigurationSyntacticSequencer.class; | 95 | return ApplicationConfigurationSyntacticSequencer.class; |
96 | } | 96 | } |
97 | 97 | ||
98 | // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 | 98 | // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 |
99 | public Class<? extends ISerializer> bindISerializer() { | 99 | public Class<? extends ISerializer> bindISerializer() { |
100 | return Serializer.class; | 100 | return Serializer.class; |
101 | } | 101 | } |
102 | 102 | ||
103 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 103 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
104 | public Class<? extends IParser> bindIParser() { | 104 | public Class<? extends IParser> bindIParser() { |
105 | return ApplicationConfigurationParser.class; | 105 | return ApplicationConfigurationParser.class; |
106 | } | 106 | } |
107 | 107 | ||
108 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 108 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
109 | public Class<? extends ITokenToStringConverter> bindITokenToStringConverter() { | 109 | public Class<? extends ITokenToStringConverter> bindITokenToStringConverter() { |
110 | return AntlrTokenToStringConverter.class; | 110 | return AntlrTokenToStringConverter.class; |
111 | } | 111 | } |
112 | 112 | ||
113 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 113 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
114 | public Class<? extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() { | 114 | public Class<? extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() { |
115 | return ApplicationConfigurationAntlrTokenFileProvider.class; | 115 | return ApplicationConfigurationAntlrTokenFileProvider.class; |
116 | } | 116 | } |
117 | 117 | ||
118 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 118 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
119 | public Class<? extends Lexer> bindLexer() { | 119 | public Class<? extends Lexer> bindLexer() { |
120 | return InternalApplicationConfigurationLexer.class; | 120 | return InternalApplicationConfigurationLexer.class; |
121 | } | 121 | } |
122 | 122 | ||
123 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 123 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
124 | public Class<? extends ITokenDefProvider> bindITokenDefProvider() { | 124 | public Class<? extends ITokenDefProvider> bindITokenDefProvider() { |
125 | return AntlrTokenDefProvider.class; | 125 | return AntlrTokenDefProvider.class; |
126 | } | 126 | } |
127 | 127 | ||
128 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 128 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
129 | public Provider<? extends InternalApplicationConfigurationLexer> provideInternalApplicationConfigurationLexer() { | 129 | public Provider<? extends InternalApplicationConfigurationLexer> provideInternalApplicationConfigurationLexer() { |
130 | return LexerProvider.create(InternalApplicationConfigurationLexer.class); | 130 | return LexerProvider.create(InternalApplicationConfigurationLexer.class); |
131 | } | 131 | } |
132 | 132 | ||
133 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 133 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
134 | public void configureRuntimeLexer(Binder binder) { | 134 | public void configureRuntimeLexer(Binder binder) { |
135 | binder.bind(Lexer.class) | 135 | binder.bind(Lexer.class) |
136 | .annotatedWith(Names.named(LexerBindings.RUNTIME)) | 136 | .annotatedWith(Names.named(LexerBindings.RUNTIME)) |
137 | .to(InternalApplicationConfigurationLexer.class); | 137 | .to(InternalApplicationConfigurationLexer.class); |
138 | } | 138 | } |
139 | 139 | ||
140 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 140 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
141 | public Class<? extends IUnorderedGroupHelper> bindIUnorderedGroupHelper() { | 141 | public Class<? extends IUnorderedGroupHelper> bindIUnorderedGroupHelper() { |
142 | return UnorderedGroupHelper.class; | 142 | return UnorderedGroupHelper.class; |
143 | } | 143 | } |
144 | 144 | ||
145 | // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2 | 145 | // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2 |
146 | @SingletonBinding(eager=true) | 146 | @SingletonBinding(eager=true) |
147 | public Class<? extends ApplicationConfigurationValidator> bindApplicationConfigurationValidator() { | 147 | public Class<? extends ApplicationConfigurationValidator> bindApplicationConfigurationValidator() { |
148 | return ApplicationConfigurationValidator.class; | 148 | return ApplicationConfigurationValidator.class; |
149 | } | 149 | } |
150 | 150 | ||
151 | // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 | 151 | // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 |
152 | public Class<? extends IScopeProvider> bindIScopeProvider() { | 152 | public Class<? extends IScopeProvider> bindIScopeProvider() { |
153 | return ApplicationConfigurationScopeProvider.class; | 153 | return ApplicationConfigurationScopeProvider.class; |
154 | } | 154 | } |
155 | 155 | ||
156 | // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 | 156 | // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 |
157 | public void configureIScopeProviderDelegate(Binder binder) { | 157 | public void configureIScopeProviderDelegate(Binder binder) { |
158 | binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(ImportedNamespaceAwareLocalScopeProvider.class); | 158 | binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(ImportedNamespaceAwareLocalScopeProvider.class); |
159 | } | 159 | } |
160 | 160 | ||
161 | // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 | 161 | // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 |
162 | public Class<? extends IGlobalScopeProvider> bindIGlobalScopeProvider() { | 162 | public Class<? extends IGlobalScopeProvider> bindIGlobalScopeProvider() { |
163 | return DefaultGlobalScopeProvider.class; | 163 | return DefaultGlobalScopeProvider.class; |
164 | } | 164 | } |
165 | 165 | ||
166 | // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 | 166 | // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 |
167 | public void configureIgnoreCaseLinking(Binder binder) { | 167 | public void configureIgnoreCaseLinking(Binder binder) { |
168 | binder.bindConstant().annotatedWith(IgnoreCaseLinking.class).to(false); | 168 | binder.bindConstant().annotatedWith(IgnoreCaseLinking.class).to(false); |
169 | } | 169 | } |
170 | 170 | ||
171 | // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 | 171 | // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 |
172 | public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() { | 172 | public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() { |
173 | return DefaultDeclarativeQualifiedNameProvider.class; | 173 | return DefaultDeclarativeQualifiedNameProvider.class; |
174 | } | 174 | } |
175 | 175 | ||
176 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | 176 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 |
177 | public Class<? extends IContainer.Manager> bindIContainer$Manager() { | 177 | public Class<? extends IContainer.Manager> bindIContainer$Manager() { |
178 | return StateBasedContainerManager.class; | 178 | return StateBasedContainerManager.class; |
179 | } | 179 | } |
180 | 180 | ||
181 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | 181 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 |
182 | public Class<? extends IAllContainersState.Provider> bindIAllContainersState$Provider() { | 182 | public Class<? extends IAllContainersState.Provider> bindIAllContainersState$Provider() { |
183 | return ResourceSetBasedAllContainersStateProvider.class; | 183 | return ResourceSetBasedAllContainersStateProvider.class; |
184 | } | 184 | } |
185 | 185 | ||
186 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | 186 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 |
187 | public void configureIResourceDescriptions(Binder binder) { | 187 | public void configureIResourceDescriptions(Binder binder) { |
188 | binder.bind(IResourceDescriptions.class).to(ResourceSetBasedResourceDescriptions.class); | 188 | binder.bind(IResourceDescriptions.class).to(ResourceSetBasedResourceDescriptions.class); |
189 | } | 189 | } |
190 | 190 | ||
191 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | 191 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 |
192 | public void configureIResourceDescriptionsPersisted(Binder binder) { | 192 | public void configureIResourceDescriptionsPersisted(Binder binder) { |
193 | binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(ResourceSetBasedResourceDescriptions.class); | 193 | binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(ResourceSetBasedResourceDescriptions.class); |
194 | } | 194 | } |
195 | 195 | ||
196 | // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 | 196 | // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 |
197 | public Class<? extends IGenerator2> bindIGenerator2() { | 197 | public Class<? extends IGenerator2> bindIGenerator2() { |
198 | return ApplicationConfigurationGenerator.class; | 198 | return ApplicationConfigurationGenerator.class; |
199 | } | 199 | } |
200 | 200 | ||
201 | } | 201 | } |