diff options
author | 2021-01-14 13:07:08 -0500 | |
---|---|---|
committer | 2021-01-14 13:07:08 -0500 | |
commit | 0de1dbfaed208ba70863abe3671f868f168bc9cd (patch) | |
tree | 24961120f0d94d4da6fd1ac03e6776e224d493b0 /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneSetupGenerated.java | |
parent | Add aird file for crossingScenario Ecore (diff) | |
download | VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.tar.gz VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.tar.zst VIATRA-Generator-0de1dbfaed208ba70863abe3671f868f168bc9cd.zip |
Adjust vsconfig xtext to consider reals as EDouble rather than EBigDecimals
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneSetupGenerated.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneSetupGenerated.java | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneSetupGenerated.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneSetupGenerated.java index f2fd29ee..bfb49405 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneSetupGenerated.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneSetupGenerated.java | |||
@@ -1,42 +1,42 @@ | |||
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.Guice; | 6 | import com.google.inject.Guice; |
7 | import com.google.inject.Injector; | 7 | import com.google.inject.Injector; |
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | 8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; |
9 | import org.eclipse.emf.ecore.EPackage; | 9 | import org.eclipse.emf.ecore.EPackage; |
10 | import org.eclipse.emf.ecore.resource.Resource; | 10 | import org.eclipse.emf.ecore.resource.Resource; |
11 | import org.eclipse.xtext.ISetup; | 11 | import org.eclipse.xtext.ISetup; |
12 | import org.eclipse.xtext.common.TerminalsStandaloneSetup; | 12 | import org.eclipse.xtext.common.TerminalsStandaloneSetup; |
13 | import org.eclipse.xtext.resource.IResourceFactory; | 13 | import org.eclipse.xtext.resource.IResourceFactory; |
14 | import org.eclipse.xtext.resource.IResourceServiceProvider; | 14 | import org.eclipse.xtext.resource.IResourceServiceProvider; |
15 | 15 | ||
16 | @SuppressWarnings("all") | 16 | @SuppressWarnings("all") |
17 | public class ApplicationConfigurationStandaloneSetupGenerated implements ISetup { | 17 | public class ApplicationConfigurationStandaloneSetupGenerated implements ISetup { |
18 | 18 | ||
19 | @Override | 19 | @Override |
20 | public Injector createInjectorAndDoEMFRegistration() { | 20 | public Injector createInjectorAndDoEMFRegistration() { |
21 | TerminalsStandaloneSetup.doSetup(); | 21 | TerminalsStandaloneSetup.doSetup(); |
22 | 22 | ||
23 | Injector injector = createInjector(); | 23 | Injector injector = createInjector(); |
24 | register(injector); | 24 | register(injector); |
25 | return injector; | 25 | return injector; |
26 | } | 26 | } |
27 | 27 | ||
28 | public Injector createInjector() { | 28 | public Injector createInjector() { |
29 | return Guice.createInjector(new ApplicationConfigurationRuntimeModule()); | 29 | return Guice.createInjector(new ApplicationConfigurationRuntimeModule()); |
30 | } | 30 | } |
31 | 31 | ||
32 | public void register(Injector injector) { | 32 | public void register(Injector injector) { |
33 | if (!EPackage.Registry.INSTANCE.containsKey("http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration")) { | 33 | if (!EPackage.Registry.INSTANCE.containsKey("http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration")) { |
34 | EPackage.Registry.INSTANCE.put("http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration", ApplicationConfigurationPackage.eINSTANCE); | 34 | EPackage.Registry.INSTANCE.put("http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration", ApplicationConfigurationPackage.eINSTANCE); |
35 | } | 35 | } |
36 | IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class); | 36 | IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class); |
37 | IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class); | 37 | IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class); |
38 | 38 | ||
39 | Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("vsconfig", resourceFactory); | 39 | Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("vsconfig", resourceFactory); |
40 | IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("vsconfig", serviceProvider); | 40 | IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("vsconfig", serviceProvider); |
41 | } | 41 | } |
42 | } | 42 | } |