public abstract class AbstractGenerator extends Object implements IGenerator2
| Constructor and Description |
|---|
AbstractGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterGenerate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess2 fsa,
IGeneratorContext context)
Release any data that is no longer necessary after the generator ran.
|
void |
beforeGenerate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess2 fsa,
IGeneratorContext context)
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, IGeneratorContext)
is executed. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoGeneratepublic void beforeGenerate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess2 fsa,
IGeneratorContext context)
IGenerator2IGenerator2.doGenerate(Resource, IFileSystemAccess2, IGeneratorContext)
is executed.beforeGenerate in interface IGenerator2public void afterGenerate(org.eclipse.emf.ecore.resource.Resource input,
IFileSystemAccess2 fsa,
IGeneratorContext context)
IGenerator2IGenerator2.beforeGenerate(Resource, IFileSystemAccess2, IGeneratorContext) was called.
It may be called several times. It may be called even if IGenerator2.beforeGenerate(Resource, IFileSystemAccess2, IGeneratorContext) was not called.afterGenerate in interface IGenerator2Copyright © 2015. All Rights Reserved.