Callchain gmf-process

  1. Callchain gmf-process
    1. startpoints
    2. properties
    3. Calls
      1. Atl Transformation createMappin
      2. Atl Transformation bootstrapToolTemplate
      3. Atl Transformation refineGEN
      4. Atl Transformation bootstrapGraphCustom
      5. Atl Transformation createGraphTemplate
      6. Atl Transformation create_default_plugin
      7. Atl Transformation bootstrapToolCustom
    4. Generators
      1. GMF Diagram Generator create_default_plugin
      2. GMF Diagram Generator make plugin
      3. Genmodel Generator make genmodel
    5. Artifacts
      1. Atl libary mappinghelper
      2. Atl Transformation createGMFMapping
      3. Atl libary ecore2gmfTool_custom
      4. Atl Transformation ecore2gmfTool
      5. Atl Transformation ecore2gmfGraph
      6. Artifact GRAPH
      7. Meta Model ECORE
      8. Meta Model GMF_TOOL
      9. Meta Model GMF_GRAPH
      10. Meta Model GMF_MAP
      11. Model IN
      12. Model TOOL
      13. Model GRAPH_CUSTOM
      14. Model OUT
      15. Model OUT
      16. Model OUT
      17. Model GEN_GMF
      18. Meta Model GENMODEL
      19. Artifact diagram plugin
      20. Model GENOUT
      21. Atl Transformation refineGenmodel
      22. Atl Transformation refine_default_plugin
      23. Model OUT
      24. Artifact default_plugin
      25. Artifact IN
      26. Meta Model ECORE
      27. Meta Model EMFGENMODEL
      28. Atl Transformation basic_rules
      29. Atl Transformation refineGenmodelSuperimposed

Comment1This decribes the flow of transformations. The genmodel will be refined and the processes is started with it.Here the default input
models are created.
This is like bootstrapping.The mapping model is created
by merging the default model
with a custom model.The genmodel is created
by the gmf generator.The gen model will be
customized in the
refining process
and starts the diagram
generator with it.The models and the meta models.These is the model
created from the ecore
input model.The definition of this graph
model overrides the generated
defintion. Here you can
cusomize the graphical defenition
of your diagram.an alternate plugin
in an alternate processThis creates the emf genmodel and the emf plugins.

startpoints

default Startpoint : bootstrapToolCustom

startpoints : bootstrapToolTemplate

properties

name description default value
model_uri The uri of the input model. model_file
custom_atl The uri to the custom atl file containing the definition of the mapping transformation. container_name/gmf/ecore2gmfTool_custom_${model_name}.asm
model_output_path the path where the generated models are stored. container_name
model_name The name of the model. name
template_container container_name
base_plugin_name The basic ecore project name. projectName
transformation_path The path to the transformation files. container_name/gmf/
generate_emf false

Calls

Atl Transformation createMappin

Transforms the ecore model to the mapping model, it will use the elements in the custom resources in GRAPH and TOOL before he default ones.

createGMFMapping uri :[ ${transformation_path}/createGMFMapping.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
mappinghelper ${transformation_path}/GMFmappinghelper.asm
ecore2gmfTool_custom ${custom_atl}
in Model conforms to
IN ECORE
GRAPH_CUSTOM GMF_GRAPH
GRAPH GMF_GRAPH
TOOL GMF_TOOL
out Model conforms to
OUT GMF_MAP

Atl Transformation bootstrapToolTemplate

Creates the default tool model.

ecore2gmfTool uri :[ ${transformation_path}/ecore2gmfTool.atl ]
executed : always

refresh workspace false
allow inter model references true
continue after errors true
profile true
disable attribute helper cache false
print execution time true
Libaries uri
mappinghelper ${transformation_path}/GMFmappinghelper.asm
ecore2gmfTool_custom ${custom_atl}
in Model conforms to
IN ECORE
out Model conforms to
OUT GMF_TOOL

Atl Transformation refineGEN

The generated genmodel will be customized throu this transformation.

refineGenmodel uri :[ ${transformation_path}/refine_gen2009.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
ecore2gmfTool_custom ${custom_atl}
in Model conforms to
GEN_GMF GENMODEL
out Model conforms to
GENOUT GENMODEL

Atl Transformation bootstrapGraphCustom

Creates the custom graph model.

ecore2gmfGraph uri :[ ${transformation_path}/ecore2gmfGraph.atl ]
executed : not if GRAPH_CUSTOM [ GMF_GRAPH ] exist

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
ecore2gmfTool_custom ${custom_atl}
mappinghelper ${transformation_path}/GMFmappinghelper.asm
in Model conforms to
IN ECORE
out Model conforms to
GRAPH_CUSTOM GMF_GRAPH

Atl Transformation createGraphTemplate

Creates the default graph model.

ecore2gmfGraph uri :[ ${transformation_path}/ecore2gmfGraph.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
mappinghelper ${transformation_path}/GMFmappinghelper.asm
ecore2gmfTool_custom ${custom_atl}
in Model conforms to
IN ECORE
out Model conforms to
OUT GMF_GRAPH

Atl Transformation create_default_plugin

refine_default_plugin uri :[ ${transformation_path}/create_default_plugin.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
mappinghelper ${transformation_path}/GMFmappinghelper.asm
ecore2gmfTool_custom ${custom_atl}
in Model conforms to
IN GENMODEL
out Model conforms to
OUT GENMODEL

Atl Transformation bootstrapToolCustom

Creates the custom tool model.

ecore2gmfTool uri :[ ${transformation_path}/ecore2gmfTool.atl ]
executed : not if TOOL [ GMF_TOOL ] exist

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
mappinghelper ${transformation_path}/GMFmappinghelper.asm
ecore2gmfTool_custom ${custom_atl}
in Model conforms to
IN ECORE
out Model conforms to
TOOL GMF_TOOL

Generators

GMF Diagram Generator create_default_plugin

GMF Diagram Generator : create_default_plugin
executed : always

refresch workspace : false

uses
OUT
produces
default_plugin

GMF Diagram Generator make plugin

Generates the plugin code from the gmf genmodel.

GMF Diagram Generator : make plugin
executed : always

refresch workspace : false

uses
GENOUT
produces
diagram plugin

Genmodel Generator make genmodel

Creates the gmf genmodel from the mapping model.

Genmodel Generator : make genmodel
executed : always

refresch workspace : false

uses
OUT
produces
GEN_GMF

Artifacts

Atl libary mappinghelper

A lot of helper functions.

name uri isDerived
mappinghelper ${transformation_path}/GMFmappinghelper.asm false

Atl Transformation createGMFMapping

create OUT : GMF_MAP from IN : ECORE,TOOL : GMF_TOOL,GRAPH : GMF_GRAPH;

name uri isDerived
createGMFMapping ${transformation_path}/createGMFMapping.atl false

super impose :

Atl libary ecore2gmfTool_custom

The custom atl file

name uri isDerived
ecore2gmfTool_custom ${custom_atl} false

Atl Transformation ecore2gmfTool

create OUT : GMF_TOOL from IN : ECORE;

name uri isDerived
ecore2gmfTool ${transformation_path}/ecore2gmfTool.atl false

super impose :

Atl Transformation ecore2gmfGraph

create OUT : GMF_GRAPH from IN : ECORE;

name uri isDerived
ecore2gmfGraph ${transformation_path}/ecore2gmfGraph.atl false

super impose :

Artifact GRAPH

name uri isDerived
GRAPH ${model_output_path}/${model_name}.gmfgraph false

Meta Model ECORE

name uri handler isDerived
ECORE #EMF EMF false

Meta Model GMF_TOOL

name uri handler isDerived
GMF_TOOL uri:http://www.eclipse.org/gmf/2005/ToolDefinition EMF false

Meta Model GMF_GRAPH

name uri handler isDerived
GMF_GRAPH uri:http://www.eclipse.org/gmf/2006/GraphicalDefinition EMF false

Meta Model GMF_MAP

name uri handler isDerived
GMF_MAP uri:http://www.eclipse.org/gmf/2008/mappings EMF false

Model IN

The input ecore model.

name uri conforms to isDerived isTemp
IN ${model_uri} ECORE false false

Model TOOL

name uri conforms to isDerived isTemp
TOOL ${model_output_path}/${model_name}_custom.gmftool GMF_TOOL false false

Model GRAPH_CUSTOM

name uri conforms to isDerived isTemp
GRAPH_CUSTOM ${model_output_path}/${model_name}_custom.gmfgraph GMF_GRAPH false false

Model OUT

name uri conforms to isDerived isTemp
OUT ${model_output_path}/${model_name}.gmfmap GMF_MAP false false

Model OUT

name uri conforms to isDerived isTemp
OUT ${model_output_path}/${model_name}.gmftool GMF_TOOL false false

Model OUT

name uri conforms to isDerived isTemp
OUT ${model_output_path}/${model_name}.gmfgraph GMF_GRAPH false false

Model GEN_GMF

name uri conforms to isDerived isTemp
GEN_GMF ${model_output_path}/${model_name}_plain.gmfgen GENMODEL false false

Meta Model GENMODEL

name uri handler isDerived
GENMODEL uri:http://www.eclipse.org/gmf/2009/GenModel EMF false

Artifact diagram plugin

name uri isDerived
diagram plugin ${base_plugin_name}.diagram false

Model GENOUT

name uri conforms to isDerived isTemp
GENOUT ${model_output_path}/${model_name}.gmfgen GENMODEL false false

Atl Transformation refineGenmodel

name uri isDerived
refineGenmodel ${transformation_path}/refine_gen2009.atl false

super impose :

Atl Transformation refine_default_plugin

name uri isDerived
refine_default_plugin ${transformation_path}/create_default_plugin.atl false

Model OUT

name uri conforms to isDerived isTemp
OUT ${model_output_path}/${model_name}_default_plugin.gmfgen GENMODEL false false

Artifact default_plugin

name uri isDerived
default_plugin ${base_plugin_name}.diagram_default false

Artifact IN

name uri isDerived
IN ${model_output_path}/${model_name}.gmfgen false

Meta Model ECORE

name uri handler isDerived
ECORE #EMF EMF false

Meta Model EMFGENMODEL

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

Atl Transformation basic_rules

name uri isDerived
basic_rules ${transformation_path}/basic_rules.atl false

Atl Transformation refineGenmodelSuperimposed

name uri isDerived
refineGenmodelSuperimposed ${transformation_path}/refine_gen2009_custom.atl false