public class GeneratorDelegate extends Object implements IGenerator, IGenerator2
IGenerator.NullGenerator| Constructor and Description |
|---|
GeneratorDelegate() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterGenerate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess2 fsa)
Release any data that is no longer necessary after the generator ran.
|
void |
beforeGenerate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess2 fsa)
Before the generation is triggered, the resource or the entire resource set
may be prepared such that no modification will happen while
IGenerator2.doGenerate(Resource, IFileSystemAccess2)
is executed. |
void |
doGenerate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess fsa) |
void |
doGenerate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess2 fsa)
Perform the code generation for the given input resource.
|
void |
generate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess2 fsa) |
IGenerator |
getLegacyGenerator() |
public IGenerator getLegacyGenerator()
public void doGenerate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess2 fsa)
IGenerator2doGenerate in interface IGenerator2input - the input for which to generate artefactsfsa - file system access to be used to generate filespublic void beforeGenerate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess2 fsa)
IGenerator2IGenerator2.doGenerate(Resource, IFileSystemAccess2)
is executed.beforeGenerate in interface IGenerator2public void afterGenerate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess2 fsa)
IGenerator2afterGenerate in interface IGenerator2public void generate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess2 fsa)
public void doGenerate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess fsa)
doGenerate in interface IGeneratorinput - the input for which to generate resourcesfsa - file system access to be used to generate filesCopyright © 2015. All Rights Reserved.