Callchain eef-process

  1. Callchain eef-process
    1. startpoints
    2. properties
    3. Calls
      1. Atl Transformation transform gen
      2. Atl Transformation transform components
      3. Atl Transformation transform views
      4. Atl Transformation transform editor gen
    4. Generators
      1. EEF Properties initalizer create eef models
      2. EEF Properties generator gen eef
      3. Model merger merge models
      4. EEF Editor initializer create eef editor
      5. EEF Editor generator generate editor
    5. Artifacts
      1. Artifact modelOutput
      2. Model in
      3. Meta Model EcoreGenModel
      4. Model IN
      5. Model IN
      6. Atl Transformation eef_component_copy.atl
      7. Atl Transformation eef_generation_copy.atl
      8. Model OUT
      9. Model OUT
      10. Meta Model EEF_GEN
      11. Meta Model EEF_COMPONENT
      12. Artifact code
      13. Atl libary custom
      14. Model IN
      15. Meta Model EEF_VIEW
      16. Atl Transformation eef_view_copy.atl
      17. Model OUT
      18. Artifact IN_VIEW
      19. Artifact IN_COMP
      20. Artifact IN_VIEW
      21. Artifact merged models
      22. Model view
      23. Model comp
      24. Model IN
      25. Model OUT
      26. Model IN_COMP
      27. Model IN_VIEW

A transformation chain to customize the generation of eef properties.
The transformation is controlled by a custom atl libary.

startpoints

default Startpoint : create eef models

startpoints : create eef models

startpoints : create eef editor

properties

name description default value
model_uri This is the uri to the input model. /eefGenerator/model/model.genmodel
custom_eef_atl This is the uri of the custum atl file. /eefGenerator/eef-process/custom.atl
eef_model_path The folder path where the gerenrated eef models are stored. /eefGenerator/eef-model
eef_transformation_path The path to the eef atl transformations. /eefGenerator/eef-process
model_name The name of the mode, will be used for the name. model

Calls

Atl Transformation transform gen

Transforms the eef genmodel, it links the merged view and component model to the eef genmodel.

eef_generation_copy.atl uri :[ ${eef_transformation_path}/eef_generation_copy.atl ]
executed : always

refresh workspace false
allow inter model references true
continue after errors true
profile false
disable attribute helper cache false
print execution time false
Libaries uri
custom ${custom_eef_atl}
in Model conforms to
IN EEF_GEN
IN_COMP EEF_COMPONENT
IN_VIEW EEF_VIEW
out Model conforms to
OUT EEF_GEN

Atl Transformation transform components

Transforms the componet model to the custom one.

eef_component_copy.atl uri :[ ${eef_transformation_path}/eef_component_copy.atl ]
executed : always

refresh workspace false
allow inter model references true
continue after errors true
profile false
disable attribute helper cache false
print execution time false
Libaries uri
custom ${custom_eef_atl}
in Model conforms to
IN EEF_COMPONENT
IN_VIEW EEF_VIEW
out Model conforms to
OUT EEF_COMPONENT

Atl Transformation transform views

Transform the view model to the custom one.

eef_view_copy.atl uri :[ ${eef_transformation_path}/eef_view_copy.atl ]
executed : always

refresh workspace false
allow inter model references true
continue after errors true
profile false
disable attribute helper cache false
print execution time false
Libaries uri
custom ${custom_eef_atl}
in Model conforms to
IN EEF_VIEW
out Model conforms to
OUT EEF_VIEW

Atl Transformation transform editor gen

This transformation uses the same atl file, and transform the editor genmodel uses the same custom file.

eef_generation_copy.atl uri :[ ${eef_transformation_path}/eef_generation_copy.atl ]
executed : always

refresh workspace false
allow inter model references true
continue after errors true
profile false
disable attribute helper cache false
print execution time false
Libaries uri
custom ${custom_eef_atl}
in Model conforms to
IN EEF_GEN
IN_COMP EEF_COMPONENT
IN_VIEW EEF_VIEW
out Model conforms to
OUT EEF_GEN

Generators

EEF Properties initalizer create eef models

Creates the eef models, is like the action „initalize eef models”.

EEF Properties initalizer : create eef models
executed : always

refresch workspace : false

uses
in
produces
modelOutput
IN
IN
IN

EEF Properties generator gen eef

Starts the acceleo engine to generate the java code.

EEF Properties generator : gen eef
executed : always

refresch workspace : false

uses
OUT
produces
code

Model merger merge models

Merges the two model files in one xmi file.

Model merger : merge models
executed : always

refresch workspace : false

uses
OUT
OUT
produces
merged models
view
comp

EEF Editor initializer create eef editor

EEF Editor initializer : create eef editor
executed : always

refresch workspace : false

uses
in
produces
modelOutput
IN
IN_COMP
IN_VIEW

EEF Editor generator generate editor

EEF Editor generator : generate editor
executed : always

refresch workspace : false

uses
OUT
produces
code

Artifacts

Artifact modelOutput

The ouptut path, need to exist, where the properties initaliser will store the model files. It is needed by the generator.

name uri isDerived
modelOutput ${eef_model_path} false

Model in

This is the base input model. The genmodel from which the basic models are created.

name uri conforms to isDerived isTemp
in ${model_uri} EcoreGenModel false false

Meta Model EcoreGenModel

The ecore genmodel.

name uri handler isDerived
EcoreGenModel uri:http://www.eclipse.org/emf/2002/GenModel EMF false

Model IN

The eef genmodel produced by the properties initaliser.

name uri conforms to isDerived isTemp
IN ${eef_model_path}/${model_name}.eefgen EEF_GEN false false

Model IN

The eef component model produced by the properties initaliser.

name uri conforms to isDerived isTemp
IN ${eef_model_path}/${model_name}.components EEF_COMPONENT false false

Atl Transformation eef_component_copy.atl

create OUT : EEF_COMPONENT from IN : EEF_COMPONENT, IN_VIEW : EEF_VIEW ;
Transforms the component model to the custome one.

name uri isDerived
eef_component_copy.atl ${eef_transformation_path}/eef_component_copy.atl false

Atl Transformation eef_generation_copy.atl

create OUT : EEF_GEN from IN : EEF_GEN, IN_VIEW : EEF_VIEW, IN_COMP : EEF_COMPONENT;
Transforms the eef gen model.

name uri isDerived
eef_generation_copy.atl ${eef_transformation_path}/eef_generation_copy.atl false

Model OUT

name uri conforms to isDerived isTemp
OUT ${eef_model_path}/${model_name}_out.eefgen EEF_GEN false false

Model OUT

name uri conforms to isDerived isTemp
OUT ${eef_model_path}/${model_name}_comp_out.components EEF_COMPONENT false false

Meta Model EEF_GEN

The eef genmodel.

name uri handler isDerived
EEF_GEN uri:http://www.eclipse.org/emf/eef/generation/1.0.0 EMF false

Meta Model EEF_COMPONENT

The eef component model.

name uri handler isDerived
EEF_COMPONENT uri:http://www.eclipse.org/emf/eef/components/1.0.0 EMF false

Artifact code

This is also a virtal artifact, as the output is defined by a eef genmodel feature, an is set by the custom atl file.

name uri isDerived
code /eefGenerator/src-gen false

Atl libary custom

This file ist the custom eef atl file, it contains the helper needed for the transformations.

name uri isDerived
custom ${custom_eef_atl} false

Model IN

The eef view model produced by the properties initaliser.

name uri conforms to isDerived isTemp
IN ${eef_model_path}/${model_name}.components EEF_VIEW false false

Meta Model EEF_VIEW

the eef view model.

name uri handler isDerived
EEF_VIEW uri:http://www.eclipse.org/emf/eef/views/1.0.0 EMF false

Atl Transformation eef_view_copy.atl

create OUT : EEF_VIEW from IN : EEF_VIEW;
Transforms the view model.

name uri isDerived
eef_view_copy.atl ${eef_transformation_path}/eef_view_copy.atl false

Model OUT

name uri conforms to isDerived isTemp
OUT ${eef_model_path}/${model_name}_view_out.components EEF_VIEW false false

Artifact IN_VIEW

name uri isDerived
IN_VIEW ${eef_model_path}/${model_name}_view_out.components false

Artifact IN_COMP

name uri isDerived
IN_COMP ${eef_model_path}/${model_name}_out.components false

Artifact IN_VIEW

name uri isDerived
IN_VIEW ${eef_model_path}/${model_name}_out.components false

Artifact merged models

This artifact is nessesary for the acceleo generator, it is a xmi file contains both models, compoponent and view.

name uri isDerived
merged models ${eef_model_path}/${model_name}_out.components false

Model view

A virtual artifact, pointing the the merged model, it defines the component part IN_COMP in the genmodel transformation.

name uri conforms to isDerived isTemp
view ${eef_model_path}/${model_name}_out.components EEF_VIEW false false

Model comp

A virtual artifact, pointing the the merged model, it defines the component part IN_VIEW in the genmodel transformation.

name uri conforms to isDerived isTemp
comp ${eef_model_path}/${model_name}_out.components EEF_COMPONENT false false

Model IN

name uri conforms to isDerived isTemp
IN ${eef_model_path}/${model_name}-editor.eefgen EEF_GEN false false

Model OUT

name uri conforms to isDerived isTemp
OUT ${eef_model_path}/${model_name}-editor_out.eefgen EEF_GEN false false

Model IN_COMP

name uri conforms to isDerived isTemp
IN_COMP ${eef_model_path}/${model_name}-editor.components EEF_COMPONENT false false

Model IN_VIEW

name uri conforms to isDerived isTemp
IN_VIEW ${eef_model_path}/${model_name}-editor.components EEF_VIEW false false