Class RosettaGenerator

java.lang.Object
com.regnosys.rosetta.generator.RosettaGenerator
All Implemented Interfaces:
org.eclipse.xtext.generator.IGenerator2

public class RosettaGenerator extends Object implements org.eclipse.xtext.generator.IGenerator2
Generates code from your model files on save. See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterAllGenerate(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.xtext.generator.IFileSystemAccess2 fsa2, org.eclipse.xtext.generator.IGeneratorContext context)
     
    void
    afterGenerate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa2, org.eclipse.xtext.generator.IGeneratorContext context)
     
    void
    beforeAllGenerate(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.xtext.generator.IFileSystemAccess2 fsa2, org.eclipse.xtext.generator.IGeneratorContext context)
     
    void
    beforeGenerate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa2, org.eclipse.xtext.generator.IGeneratorContext context)
     
    void
    doGenerate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa2, org.eclipse.xtext.generator.IGeneratorContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RosettaGenerator

      public RosettaGenerator()
  • Method Details

    • beforeAllGenerate

      public void beforeAllGenerate(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.xtext.generator.IFileSystemAccess2 fsa2, org.eclipse.xtext.generator.IGeneratorContext context)
    • beforeGenerate

      public void beforeGenerate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa2, org.eclipse.xtext.generator.IGeneratorContext context)
      Specified by:
      beforeGenerate in interface org.eclipse.xtext.generator.IGenerator2
    • doGenerate

      public void doGenerate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa2, org.eclipse.xtext.generator.IGeneratorContext context)
      Specified by:
      doGenerate in interface org.eclipse.xtext.generator.IGenerator2
    • afterGenerate

      public void afterGenerate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa2, org.eclipse.xtext.generator.IGeneratorContext context)
      Specified by:
      afterGenerate in interface org.eclipse.xtext.generator.IGenerator2
    • afterAllGenerate

      public void afterAllGenerate(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.xtext.generator.IFileSystemAccess2 fsa2, org.eclipse.xtext.generator.IGeneratorContext context)