Package org.openhab.core.model.script
Class ScriptRuntimeModule
java.lang.Object
org.eclipse.xtext.service.AbstractGenericModule
org.eclipse.xtext.service.DefaultRuntimeModule
org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule
org.eclipse.xtext.xbase.DefaultXbaseRuntimeModule
org.openhab.core.model.script.AbstractScriptRuntimeModule
org.openhab.core.model.script.ScriptRuntimeModule
- All Implemented Interfaces:
com.google.inject.Module
Use this class to register components to be used at runtime / without the Equinox extension registry.
- Author:
- Oliver Libutzki - Initial contribution
-
Field Summary
Fields inherited from class org.openhab.core.model.script.AbstractScriptRuntimeModule
properties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends org.eclipse.xtext.common.types.xtext.AbstractTypeScopeProvider>
Class<? extends org.eclipse.xtext.xbase.interpreter.IExpressionInterpreter>
Class<? extends org.eclipse.xtext.generator.IGenerator>
Class<? extends org.eclipse.xtext.common.types.access.IJvmTypeProvider.Factory>
Class<? extends org.eclipse.xtext.xbase.scoping.batch.ImplicitlyImportedFeatures>
Class<? extends org.eclipse.xtext.xbase.typesystem.computation.ITypeComputer>
void
configureIScopeProviderDelegate
(com.google.inject.Binder binder) void
configureRuntimeEncodingProvider
(com.google.inject.Binder binder) void
configureUseIndexFragmentsForLazyLinking
(com.google.inject.Binder binder) Methods inherited from class org.openhab.core.model.script.AbstractScriptRuntimeModule
bindDefaultBatchTypeResolver, bindDefaultReentrantTypeResolver, bindFeatureNameValidator, bindIAllContainersState$Provider, bindIAntlrTokenFileProvider, bindIBatchScopeProvider, bindIContainer$Manager, bindIGlobalScopeProvider, bindIGrammarAccess, bindIJvmModelInferrer, bindILocationInFileProvider, bindIParser, bindIQualifiedNameProvider, bindIResourceValidator, bindISemanticSequencer, bindISerializer, bindISyntacticSequencer, bindITokenDefProvider, bindITokenToStringConverter, bindLexer, bindScriptValidator, configure, configureFileExtensions, configureIgnoreCaseLinking, configureIResourceDescriptions, configureIResourceDescriptionsPersisted, configureLanguageName, configureRewritableImportSectionEnablement, configureRuntimeLexer, provideInternalScriptLexer
Methods inherited from class org.eclipse.xtext.xbase.DefaultXbaseRuntimeModule
bindAbstractFileSystemAccess2, bindCancelableDiagnostician, bindConfigurableIssueCodesProvider, bindEObjectAtOffsetHelper, bindIDefaultResourceDescriptionStrategy, bindIdentifiableSimpleNameProvider, bindIDerivedStateComputer, bindIEvaluationContext, bindIJavaDocReferenceProvider, bindILinker, bindILinkingDiagnosticMessageProvider, bindIPartialParserHelper, bindIQualifiedNameConverter, bindIResourceDescription$Manager, bindIScopeProvider, bindIStratumBreakpointSupport, bindIValueConverterService, bindJvmTypeReferencesValidator, bindLineSeparatorHarmonizer, bindNodeModelBuilder, bindProjectConfigProvider, bindSeverityConverter, bindStaticImplicitMethodsFeatureForTypeProvider$ExtensionClassNameProvider, bindTargetURICollector, bindUniqueClassNameValidator, bindXtextResource, bindXtypeFactoryToInstance, configureITransientValueService, configureLinkingIScopeProvider, configureSerializerIScopeProvider
Methods inherited from class org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule
bindTypesFactoryToInstance
Methods inherited from class org.eclipse.xtext.service.DefaultRuntimeModule
bindConcreteSyntaxValidator, bindDiagnostician, bindEPackageRegistry, bindEValidatorRegistry, bindIAstFactory, bindIFormatter, bindIFragmentProvider, bindILinkingService, bindINodeModelFormatter, bindIResourceFactory, bindIResourceServiceProvider$Registry, bindITransientValueService, bindResourceSet, bindRuntimeEncodingProvider, bindXtextResourceSet, configureGenericSemanticSequencer, configureIResourceDescriptionsBuilderScope, configureIResourceDescriptionsLiveScope, configureIsAffectedExtensions, provideIEncodingProvider
Methods inherited from class org.eclipse.xtext.service.AbstractGenericModule
bindProperties, getBindings, tryBindProperties
-
Constructor Details
-
ScriptRuntimeModule
public ScriptRuntimeModule()
-
-
Method Details
-
bindImplicitlyImportedTypes
public Class<? extends org.eclipse.xtext.xbase.scoping.batch.ImplicitlyImportedFeatures> bindImplicitlyImportedTypes() -
bindITypeComputer
public Class<? extends org.eclipse.xtext.xbase.typesystem.computation.ITypeComputer> bindITypeComputer() -
configureRuntimeEncodingProvider
public void configureRuntimeEncodingProvider(com.google.inject.Binder binder) - Overrides:
configureRuntimeEncodingProvider
in classorg.eclipse.xtext.service.DefaultRuntimeModule
-
bindIExpressionInterpreter
public Class<? extends org.eclipse.xtext.xbase.interpreter.IExpressionInterpreter> bindIExpressionInterpreter()- Overrides:
bindIExpressionInterpreter
in classorg.eclipse.xtext.xbase.DefaultXbaseRuntimeModule
-
bindIGenerator
- Overrides:
bindIGenerator
in classorg.eclipse.xtext.xbase.DefaultXbaseRuntimeModule
-
configureIScopeProviderDelegate
public void configureIScopeProviderDelegate(com.google.inject.Binder binder) - Overrides:
configureIScopeProviderDelegate
in classAbstractScriptRuntimeModule
-
bindIJvmTypeProvider$Factory
public Class<? extends org.eclipse.xtext.common.types.access.IJvmTypeProvider.Factory> bindIJvmTypeProvider$Factory()- Overrides:
bindIJvmTypeProvider$Factory
in classorg.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule
-
bindAbstractTypeScopeProvider
public Class<? extends org.eclipse.xtext.common.types.xtext.AbstractTypeScopeProvider> bindAbstractTypeScopeProvider()- Overrides:
bindAbstractTypeScopeProvider
in classorg.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule
-
bindClassLoaderToInstance
- Overrides:
bindClassLoaderToInstance
in classAbstractScriptRuntimeModule
-
configureUseIndexFragmentsForLazyLinking
public void configureUseIndexFragmentsForLazyLinking(com.google.inject.Binder binder) - Overrides:
configureUseIndexFragmentsForLazyLinking
in classorg.eclipse.xtext.service.DefaultRuntimeModule
-