diff options
Diffstat (limited to 'rba.tool.editor.ide/src/rba/tool/editor/ide')
-rw-r--r-- | rba.tool.editor.ide/src/rba/tool/editor/ide/RBAModelIdeModule.xtend | 11 | ||||
-rw-r--r-- | rba.tool.editor.ide/src/rba/tool/editor/ide/RBAModelIdeSetup.xtend | 20 |
2 files changed, 31 insertions, 0 deletions
diff --git a/rba.tool.editor.ide/src/rba/tool/editor/ide/RBAModelIdeModule.xtend b/rba.tool.editor.ide/src/rba/tool/editor/ide/RBAModelIdeModule.xtend new file mode 100644 index 0000000..eacf7c5 --- /dev/null +++ b/rba.tool.editor.ide/src/rba/tool/editor/ide/RBAModelIdeModule.xtend @@ -0,0 +1,11 @@ +/* + * generated by Xtext 2.12.0 + */ +package rba.tool.editor.ide + + +/** + * Use this class to register ide components. + */ +class RBAModelIdeModule extends AbstractRBAModelIdeModule { +} diff --git a/rba.tool.editor.ide/src/rba/tool/editor/ide/RBAModelIdeSetup.xtend b/rba.tool.editor.ide/src/rba/tool/editor/ide/RBAModelIdeSetup.xtend new file mode 100644 index 0000000..566b33c --- /dev/null +++ b/rba.tool.editor.ide/src/rba/tool/editor/ide/RBAModelIdeSetup.xtend @@ -0,0 +1,20 @@ +/* + * generated by Xtext 2.12.0 + */ +package rba.tool.editor.ide + +import com.google.inject.Guice +import org.eclipse.xtext.util.Modules2 +import rba.tool.editor.RBAModelRuntimeModule +import rba.tool.editor.RBAModelStandaloneSetup + +/** + * Initialization support for running Xtext languages as language servers. + */ +class RBAModelIdeSetup extends RBAModelStandaloneSetup { + + override createInjector() { + Guice.createInjector(Modules2.mixin(new RBAModelRuntimeModule, new RBAModelIdeModule)) + } + +} |