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 "MoDisco/KDM/UMLConverter"

< MoDisco‎ | KDM
(Install)
Line 1: Line 1:
The goal of [[MoDisco/KDM|KDM]] to [[MDT/UML2|UML]] converter plugin is to allow practical transformations of [[MoDisco/KDM|KDM models]] to [[MDT/UML2|UML models]].
+
The goal of the [[MoDisco/KDM|KDM]] to [[MDT/UML2|UML]] converter plug-in is to allow practical transformations of [[MoDisco/KDM|KDM models]] to [[MDT/UML2|UML models]].
  
 
== Description ==
 
== Description ==
  
This tool aims at converting [[MoDisco/KDM|KDM models]] into [[MDT/UML2|UML models]] in order to allow integrating KDM-compliant tools (i.e. discoverers) with UML-compliant tools (e.g. modellers, model transformation tools, code generators, etc), as shown in next figure.
+
This tool aims at converting [[MoDisco/KDM|KDM models]] into [[MDT/UML2|UML models]] in order to allow integrating KDM-compliant tools (i.e. discoverers) with UML-compliant tools (e.g. modelers, model transformation tools, code generators, etc), as shown in the next figure.
  
 
[[Image:MoDisco-KDM Kdm to Uml converter overview.jpg|frame|center|Overall approach of the KDM to UML converter]]
 
[[Image:MoDisco-KDM Kdm to Uml converter overview.jpg|frame|center|Overall approach of the KDM to UML converter]]
Line 19: Line 19:
 
== Requirements ==
 
== Requirements ==
  
To use the plugin you need:  
+
To use the plug-in you need:  
 
* JDK 1.5 or above
 
* JDK 1.5 or above
* a version of Eclipse 3.3 or above with the following set of plugins installed
+
* a version of Eclipse 3.3 or above with the following set of plug-ins installed
 
** [[EMF|EMF 2.3.0 or higher]]
 
** [[EMF|EMF 2.3.0 or higher]]
 
** [[ATL|ATL 2.0.0 or higher]]
 
** [[ATL|ATL 2.0.0 or higher]]
Line 41: Line 41:
 
Here are installation instructions :
 
Here are installation instructions :
  
* Import project in your workspace using a SVN client.
+
* Import the project in your workspace using a SVN client.
* Use "export" menu to export this project as a plug-in (Deployable plug-ins and fragments) in your Eclipse installation. Don't forget to choose "Package plug-ins as individual jar archives" option.
+
* Use the "export" menu to export this project as a plug-in (Deployable plug-ins and fragments) in your Eclipse installation. Don't forget to choose the "Package plug-ins as individual jar archives" option.
 
* Re-start your Eclipse to take this plug-in into account.
 
* Re-start your Eclipse to take this plug-in into account.
  
Connection parameters to SVN repository: [[MoDisco/SVN]].
+
Connection parameters to the SVN repository: [[MoDisco/SVN]].
  
 
=== Runtime  ===
 
=== Runtime  ===
Line 53: Line 53:
 
== User manual ==
 
== User manual ==
  
The plugin also provides the user with a contextual menu in order to create easily models. By right-clicking on a [[MoDisco/KDM|KDM model]] in the Eclipse Package Explorer view you can generate the [[MDT/UML2|UML model]], with or without traces (see next figure).
+
The plug-in also provides the user with a contextual menu in order to create models easily. By right-clicking on a [[MoDisco/KDM|KDM model]] in the Eclipse Package Explorer view you can generate the [[MDT/UML2|UML model]], with or without traces (see next figure).
  
[[Image:MoDisco-KDM converter popup menu.jpg|frame|center|Generating UML model from a KDM model]]
+
[[Image:MoDisco-KDM converter popup menu.jpg|frame|center|Generating a UML model from a KDM model]]
  
From a KDM source model :
+
From a KDM source model:
  
 
[[Image:MoDisco-KDM Kdm source model.jpg|frame|center|KDM model]]
 
[[Image:MoDisco-KDM Kdm source model.jpg|frame|center|KDM model]]
Line 65: Line 65:
 
[[Image:MoDisco-KDM Uml target model.jpg|frame|center|UML model]]
 
[[Image:MoDisco-KDM Uml target model.jpg|frame|center|UML model]]
  
This UML model could be displayed in any modeler :
+
This UML model can be displayed in any modeler:
  
 
[[Image:MoDisco-KDM Uml target diagram.jpg|frame|center|UML diagram]]
 
[[Image:MoDisco-KDM Uml target diagram.jpg|frame|center|UML diagram]]
Line 72: Line 72:
  
 
The bidirectional UML Association elements are not identified by the rules: two complementary unidirectional UML Association elements are generated.
 
The bidirectional UML Association elements are not identified by the rules: two complementary unidirectional UML Association elements are generated.
 +
 +
[[Category:MoDisco]]

Revision as of 05:26, 13 January 2010

The goal of the KDM to UML converter plug-in is to allow practical transformations of KDM models to UML models.

Description

This tool aims at converting KDM models into UML models in order to allow integrating KDM-compliant tools (i.e. discoverers) with UML-compliant tools (e.g. modelers, model transformation tools, code generators, etc), as shown in the next figure.

Overall approach of the KDM to UML converter

The converter is mainly implemented by an ATL model-to-model transformation taking as input a model conforming to the KDM meta model and producing as output a model conforming to the KDM models into UML meta model.

The mapping between KDM and UML is described in the following table:

KDM to UML mapping

This mapping can be changed or completed easily by updating the ATL rules.

The converter can also generate a trace file of the transformation to UML and a transformation log.

Requirements

To use the plug-in you need:

Team

Gabriel Barbier (Mia-Software)

Fabien Giquel (Mia-Software)

Frédéric Madiot (Mia-Software)

Install

Sources

You will find a version of this plug-in in SVN repository.

Here are installation instructions :

  • Import the project in your workspace using a SVN client.
  • Use the "export" menu to export this project as a plug-in (Deployable plug-ins and fragments) in your Eclipse installation. Don't forget to choose the "Package plug-ins as individual jar archives" option.
  • Re-start your Eclipse to take this plug-in into account.

Connection parameters to the SVN repository: MoDisco/SVN.

Runtime

You could download an archived site or use the update site of MoDisco.

User manual

The plug-in also provides the user with a contextual menu in order to create models easily. By right-clicking on a KDM model in the Eclipse Package Explorer view you can generate the UML model, with or without traces (see next figure).

Generating a UML model from a KDM model

From a KDM source model:

KDM model

We obtain a UML target model :

UML model

This UML model can be displayed in any modeler:

UML diagram

Current Limitations

The bidirectional UML Association elements are not identified by the rules: two complementary unidirectional UML Association elements are generated.

Back to the top