diff options
author | 2019-02-05 23:54:03 +0100 | |
---|---|---|
committer | 2019-02-19 19:18:25 +0100 | |
commit | 7f7f934fe6ad11df96906d009eec68583fd46660 (patch) | |
tree | 17828b0e833bc89b2b796fcc7da6cb74d6ec3e9c /Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components | |
parent | Generated files change (diff) | |
download | VIATRA-Generator-7f7f934fe6ad11df96906d009eec68583fd46660.tar.gz VIATRA-Generator-7f7f934fe6ad11df96906d009eec68583fd46660.tar.zst VIATRA-Generator-7f7f934fe6ad11df96906d009eec68583fd46660.zip |
[Stochastic] Fault tree transformation langauge
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components')
2 files changed, 31 insertions, 0 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.xtend new file mode 100644 index 00000000..1717a3c0 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.xtend | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ide | ||
5 | |||
6 | |||
7 | /** | ||
8 | * Use this class to register ide components. | ||
9 | */ | ||
10 | class CftLanguageIdeModule extends AbstractCftLanguageIdeModule { | ||
11 | } | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.xtend new file mode 100644 index 00000000..af8d87a5 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.xtend | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ide | ||
5 | |||
6 | import com.google.inject.Guice | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageRuntimeModule | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageStandaloneSetup | ||
9 | import org.eclipse.xtext.util.Modules2 | ||
10 | |||
11 | /** | ||
12 | * Initialization support for running Xtext languages as language servers. | ||
13 | */ | ||
14 | class CftLanguageIdeSetup extends CftLanguageStandaloneSetup { | ||
15 | |||
16 | override createInjector() { | ||
17 | Guice.createInjector(Modules2.mixin(new CftLanguageRuntimeModule, new CftLanguageIdeModule)) | ||
18 | } | ||
19 | |||
20 | } | ||