Class AbstractHenshinRefactoring

    • Constructor Detail

      • AbstractHenshinRefactoring

        public AbstractHenshinRefactoring()
    • Method Detail

      • getHenshinTransformationFilename

        protected abstract java.lang.String getHenshinTransformationFilename()
        Method has to be implemented to provide the name of the Henshin transformation file.
        Returns:
        Name of the Henshin transformation file.
      • getTransformationUnitName

        protected abstract java.lang.String getTransformationUnitName()
        Method has to be implemented to provide the transformation unit name of the henshin transformation
        Returns:
        The Henshin transformation unit name
      • setUnitParameters

        protected void setUnitParameters​(org.eclipse.emf.henshin.interpreter.UnitApplication refactoringUnit)
        Override this method to provide the needed parameters for the given henshin transformation
        Parameters:
        refactoringUnit - The Henshin transformation unit.
      • postProcessing

        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
        Parameters:
        resource - The resource already transformed by Henshin.
      • throwTransformationError

        protected void throwTransformationError()
        Override this method to provide refactoring-specific error message.