Class 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

    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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void generate​(org.eclipse.xtext.generator.LanguageConfig config, org.eclipse.xpand2.XpandExecutionContext ctx)  
      void generate​(org.eclipse.xtext.Grammar grammar, org.eclipse.xpand2.XpandExecutionContext ctx)  
      org.eclipse.xtext.Grammar getGrammar()  
      void initialize​(boolean isUi)  
      void initializeReally()  
      void setUri​(String uri)  
      void setUriReally​(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 Detail

      • LazyLanguageConfig

        public LazyLanguageConfig()
    • Method Detail

      • setUri

        public void setUri​(String uri)
        Overrides:
        setUri in class org.eclipse.xtext.generator.LanguageConfig
      • getGrammar

        public org.eclipse.xtext.Grammar getGrammar()
        Overrides:
        getGrammar in class org.eclipse.xtext.generator.LanguageConfig
      • initialize

        public void initialize​(boolean isUi)
        Overrides:
        initialize in class org.eclipse.xtext.generator.LanguageConfig
      • initializeReally

        public void initializeReally()
      • validateGrammar

        protected void validateGrammar​(org.eclipse.xtext.Grammar grammar)
        Overrides:
        validateGrammar in class org.eclipse.xtext.generator.LanguageConfig
      • generate

        public void generate​(org.eclipse.xtext.Grammar grammar,
                             org.eclipse.xpand2.XpandExecutionContext ctx)
        Specified by:
        generate in interface org.eclipse.xtext.generator.IGeneratorFragment
        Overrides:
        generate in class org.eclipse.xtext.generator.LanguageConfig
      • generate

        public void generate​(org.eclipse.xtext.generator.LanguageConfig config,
                             org.eclipse.xpand2.XpandExecutionContext ctx)
                      throws org.eclipse.xtext.generator.CompositeGeneratorException
        Specified by:
        generate in interface org.eclipse.xtext.generator.IGeneratorFragmentExtension2
        Overrides:
        generate in class org.eclipse.xtext.generator.CompositeGeneratorFragment
        Throws:
        org.eclipse.xtext.generator.CompositeGeneratorException
      • setUriReally

        public void setUriReally​(String uri)