Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Henshin/Examples/Ecore2GenModel"

(Created page with "Henshin's '''Ecore2GenModel''' example is an exogenous transformation for translating an Ecore model to a GenModel. This transformation was implemented for the [http://planet-...")
 
Line 1: Line 1:
Henshin's '''Ecore2GenModel''' example is an exogenous transformation for translating an Ecore model to a GenModel. This transformation was implemented for the [http://planet-research20.org/ttc2010 Transformation Tool Contest (TTC) 2010]. It includes a higher-order (HO) transformation for Henshin. Please note that this example is intended as an illustration for Henshin, not as a replacement for EMF's [https://eclipsesource.com/blogs/tutorials/emf-tutorial/ GenModel generation functionality].
+
[[Henshin]]'s '''Ecore2GenModel''' example is an exogenous transformation for translating an Ecore model to a GenModel. This transformation was implemented for the [http://planet-research20.org/ttc2010 Transformation Tool Contest (TTC) 2010]. It includes a higher-order (HO) transformation for Henshin. Please note that this example is intended as an illustration for Henshin, not as a replacement for EMF's [https://eclipsesource.com/blogs/tutorials/emf-tutorial/ GenModel generation functionality].
  
A detailed description of the transformation can be found here: ''Enrico Biermann, Claudia Ermel, Stefan Jurack: [http://www.ctit.utwente.nl/library/proceedings/wp10-03.pdf Modeling the "Ecore to GenModel" Transformation with EMF Henshin]. Proceedings of [http://planet-research20.org/ttc2010 TTC'10].''
+
A detailed description of the transformation can be found here: ''Enrico Biermann, Claudia Ermel, Stefan Jurack: [https://core.ac.uk/download/pdf/11476089.pdf Modeling the "Ecore to GenModel" Transformation with EMF Henshin]. Proceedings of [https://www.transformation-tool-contest.eu/ TTC'10].''
  
 
The transformation consists of two parts: the generation of the GenModel and a customization which removes trace links using a higher-order (HO) transformation. The models, transformation, source code and example input / output models can be found [https://git.eclipse.org/c/henshin/org.eclipse.emft.henshin.git/tree/plugins/org.eclipse.emf.henshin.examples/src/org/eclipse/emf/henshin/examples/ecore2genmodel].
 
The transformation consists of two parts: the generation of the GenModel and a customization which removes trace links using a higher-order (HO) transformation. The models, transformation, source code and example input / output models can be found [https://git.eclipse.org/c/henshin/org.eclipse.emft.henshin.git/tree/plugins/org.eclipse.emf.henshin.examples/src/org/eclipse/emf/henshin/examples/ecore2genmodel].
Line 9: Line 9:
 
The following screenshots depicts the rules and transformation units for the generation of the GenModel.  
 
The following screenshots depicts the rules and transformation units for the generation of the GenModel.  
  
[[File:henshin-ecore2genmodel-rules.png|600px]]
+
[[File:henshin-ecore2genmodel-rules1.png|600px]]
  
 
=== Customization (HO-transformation) ===
 
=== Customization (HO-transformation) ===

Revision as of 05:25, 11 February 2023

Henshin's Ecore2GenModel example is an exogenous transformation for translating an Ecore model to a GenModel. This transformation was implemented for the Transformation Tool Contest (TTC) 2010. It includes a higher-order (HO) transformation for Henshin. Please note that this example is intended as an illustration for Henshin, not as a replacement for EMF's GenModel generation functionality.

A detailed description of the transformation can be found here: Enrico Biermann, Claudia Ermel, Stefan Jurack: Modeling the "Ecore to GenModel" Transformation with EMF Henshin. Proceedings of TTC'10.

The transformation consists of two parts: the generation of the GenModel and a customization which removes trace links using a higher-order (HO) transformation. The models, transformation, source code and example input / output models can be found [1].

Generating the GenModel

The following screenshots depicts the rules and transformation units for the generation of the GenModel.

Henshin-ecore2genmodel-rules1.png

Customization (HO-transformation)

The following screenshots depicts the rules, meta-rules and transformation units for the customization part. For details, please take a look at the paper cited in the beginning.

Henshin-ecore2genmodel-rules2.png

This example requires Henshin 0.9.3 or higher.

contributed by Enrico Biermann, Claudia Ermel, Stefan Jurack and Christian Krause

Back to the top