Package org.openhab.core.model.lazygen
Class LazyLanguageConfig
java.lang.Object
org.eclipse.xtext.generator.CompositeGeneratorFragment
org.eclipse.xtext.generator.LanguageConfig
org.openhab.core.model.lazygen.LazyLanguageConfig
- All Implemented Interfaces:
org.eclipse.xtext.generator.IGeneratorFragment
,org.eclipse.xtext.generator.IGeneratorFragmentExtension
,org.eclipse.xtext.generator.IGeneratorFragmentExtension2
,org.eclipse.xtext.generator.IGeneratorFragmentExtension3
,org.eclipse.xtext.generator.IGeneratorFragmentExtension4
,org.eclipse.xtext.generator.NamingAware
@NonNullByDefault
public class LazyLanguageConfig
extends org.eclipse.xtext.generator.LanguageConfig
- Author:
- Holger Schill, Simon Kaufmann - Initial contribution
-
Field Summary
Fields inherited from class org.eclipse.xtext.generator.CompositeGeneratorFragment
fragments
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(org.eclipse.xtext.generator.LanguageConfig config, org.eclipse.xpand2.XpandExecutionContext ctx) void
generate
(org.eclipse.xtext.Grammar grammar, org.eclipse.xpand2.XpandExecutionContext ctx) @Nullable org.eclipse.xtext.Grammar
void
initialize
(boolean isUi) void
void
void
setUriReally
(@Nullable String uri) protected void
validateGrammar
(org.eclipse.xtext.Grammar grammar) Methods inherited from class org.eclipse.xtext.generator.LanguageConfig
addLoadedResource, checkConfiguration, getEncoding, getFileExtensions, getForcedResourceSet, getLoadedResources, isCheckFileExtension, setCheckFileExtension, setEncoding, setFileExtensions, setForcedResourceSet, validateAllImports, validateReferencedMetamodel
Methods inherited from class org.eclipse.xtext.generator.CompositeGeneratorFragment
addFragment, addFragments, addLog, addToPluginXmlRt, addToPluginXmlRt, addToPluginXmlTests, addToPluginXmlUi, addToPluginXmlUi, addToStandaloneSetup, addToStandaloneSetup, addWarn, getDefaultRuntimeModuleClassName, getDefaultUiModuleClassName, getExportedPackagesIde, getExportedPackagesRt, getExportedPackagesTests, getExportedPackagesUi, getGuiceBindingsRt, getGuiceBindingsUi, getImportedPackagesIde, getImportedPackagesRt, getImportedPackagesTests, getImportedPackagesUi, getRequiredBundlesIde, getRequiredBundlesRt, getRequiredBundlesTests, getRequiredBundlesUi, registerNaming
-
Constructor Details
-
LazyLanguageConfig
public LazyLanguageConfig()
-
-
Method Details
-
setUri
- Overrides:
setUri
in classorg.eclipse.xtext.generator.LanguageConfig
-
getGrammar
public @Nullable org.eclipse.xtext.Grammar getGrammar()- Overrides:
getGrammar
in classorg.eclipse.xtext.generator.LanguageConfig
-
initialize
public void initialize(boolean isUi) - Overrides:
initialize
in classorg.eclipse.xtext.generator.LanguageConfig
-
initializeReally
public void initializeReally() -
validateGrammar
protected void validateGrammar(@NonNullByDefault({}) org.eclipse.xtext.Grammar grammar) - Overrides:
validateGrammar
in classorg.eclipse.xtext.generator.LanguageConfig
-
generate
public void generate(@NonNullByDefault({}) org.eclipse.xtext.Grammar grammar, @NonNullByDefault({}) org.eclipse.xpand2.XpandExecutionContext ctx) - Specified by:
generate
in interfaceorg.eclipse.xtext.generator.IGeneratorFragment
- Overrides:
generate
in classorg.eclipse.xtext.generator.LanguageConfig
-
generate
public void generate(@NonNullByDefault({}) org.eclipse.xtext.generator.LanguageConfig config, @NonNullByDefault({}) org.eclipse.xpand2.XpandExecutionContext ctx) throws org.eclipse.xtext.generator.CompositeGeneratorException - Specified by:
generate
in interfaceorg.eclipse.xtext.generator.IGeneratorFragmentExtension2
- Overrides:
generate
in classorg.eclipse.xtext.generator.CompositeGeneratorFragment
- Throws:
org.eclipse.xtext.generator.CompositeGeneratorException
-
setUriReally
-