public abstract class AbstractHenshinRefactoring extends AbstractRefactoring implements Refactoring
model, originalResource| Constructor and Description |
|---|
AbstractHenshinRefactoring() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doRefactor() |
protected abstract java.lang.String |
getHenshinTransformationFilename()
Method has to be implemented to provide the name of the Henshin
transformation file.
|
protected abstract java.lang.String |
getTransformationUnitName()
Method has to be implemented to provide the transformation unit name of the
henshin transformation
|
protected void |
postProcessing(org.eclipse.emf.ecore.resource.Resource resource)
Override this method in case you want execute some post-processing after the
Henshin transformation
|
protected void |
setUnitParameters(org.eclipse.emf.henshin.interpreter.UnitApplication refactoringUnit)
Override this method to provide the needed parameters for the given henshin
transformation
|
protected void |
throwTransformationError()
Override this method to provide refactoring-specific error message.
|
doRefactor, saveResource, saveResourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoRefactorprotected void doRefactor()
doRefactor in class AbstractRefactoringprotected abstract java.lang.String getHenshinTransformationFilename()
protected abstract java.lang.String getTransformationUnitName()
protected void setUnitParameters(org.eclipse.emf.henshin.interpreter.UnitApplication refactoringUnit)
refactoringUnit - The Henshin transformation unit.protected void postProcessing(org.eclipse.emf.ecore.resource.Resource resource)
resource - The resource already transformed by Henshin.protected void throwTransformationError()