Class AbstractContextMapGenerator

java.lang.Object
org.eclipse.xtext.generator.AbstractGenerator
org.contextmapper.dsl.generator.AbstractContextMapGenerator
All Implemented Interfaces:
org.eclipse.xtext.generator.IGenerator2
Direct Known Subclasses:
ContextMapGenerator, XMIGenerator

public abstract class AbstractContextMapGenerator extends org.eclipse.xtext.generator.AbstractGenerator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    protected org.eclipse.emf.ecore.resource.ResourceSet
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doGenerate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa, org.eclipse.xtext.generator.IGeneratorContext context)
     
    protected abstract void
    generateFromContextMap(ContextMap contextmap, org.eclipse.xtext.generator.IFileSystemAccess2 fsa, org.eclipse.emf.common.util.URI inputFileURI)
     

    Methods inherited from class org.eclipse.xtext.generator.AbstractGenerator

    afterGenerate, beforeGenerate

    Methods inherited from class java.lang.Object

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

    • contextMappingModel

      protected ContextMappingModel contextMappingModel
    • resourceSet

      protected org.eclipse.emf.ecore.resource.ResourceSet resourceSet
  • Constructor Details

    • AbstractContextMapGenerator

      public AbstractContextMapGenerator()
  • Method Details

    • doGenerate

      public void doGenerate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa, org.eclipse.xtext.generator.IGeneratorContext context)
    • generateFromContextMap

      protected abstract void generateFromContextMap(ContextMap contextmap, org.eclipse.xtext.generator.IFileSystemAccess2 fsa, org.eclipse.emf.common.util.URI inputFileURI)