|
|
(6 intermediate revisions by the same user not shown) |
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]].
| + | #REDIRECT [[MoDisco/Components/KDM/Documentation/0.7]] |
| | | |
− | == Description ==
| + | Moved to [[MoDisco/Components/KDM/Documentation/0.7]] |
− | | + | |
− | 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.
| + | |
− | | + | |
− | [[Image:MoDisco-KDM Kdm to Uml converter overview.jpg|frame|center|Overall approach of the KDM to UML converter]]
| + | |
− | | + | |
− | The converter is mainly implemented by an [[ATL|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 [[MoDisco/KDM|KDM models]] into [http://www.uml.org/ UML meta model].
| + | |
− | | + | |
− | The mapping between [[MoDisco/KDM|KDM]] and [[MDT/UML2|UML]] is described in the following table:
| + | |
− | | + | |
− | [[Image:MoDisco-KDM kdm uml mapping table.jpg|frame|center|KDM to UML mapping]]
| + | |
− | | + | |
− | This mapping can be changed or completed easily by updating the [[ATL|ATL rules]].
| + | |
− | | + | |
− | The converter can also generate a trace file of the transformation to UML and a transformation log.
| + | |
− | | + | |
− | == Requirements ==
| + | |
− | | + | |
− | To use the plugin you need:
| + | |
− | * JDK 1.5 or above
| + | |
− | * a version of Eclipse 3.3 or above with the following set of plugins installed
| + | |
− | ** [[EMF|EMF 2.3.0 or higher]]
| + | |
− | ** [[ATL|ATL 2.0.0 or higher]]
| + | |
− | ** [[MDT/UML2|UML 2.1.0 or higher]]
| + | |
− | ** [[MoDisco/KDM|KDM 1.0.0 or higher]]
| + | |
− | | + | |
− | == Install ==
| + | |
− | | + | |
− | You will find a version of this plug-in attached in [https://bugs.eclipse.org/bugs/show_bug.cgi?id=258281 following bug].
| + | |
− | | + | |
− | As IP review of this plugin is not finished, here is installation instructions :
| + | |
− | | + | |
− | * Extract archive file in your Eclipse workspace, then use "import" menu to import this project.
| + | |
− | * Use "export" menu to export this project as a plugin (Deployable plugins and fragments) in your Eclipse installation. Don't forget to choose "Package plug-ins as individual jar archives" option.
| + | |
− | * re-start your Eclipse to take in account this plug-in
| + | |
− | | + | |
− | == 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).
| + | |
− | | + | |
− | [[Image:MoDisco-KDM converter popup menu.jpg|frame|center|Generating UML model from a KDM model]]
| + | |
− | | + | |
− | From a KDM source model :
| + | |
− | | + | |
− | [[Image:MoDisco-KDM Kdm source model.jpg|frame|center|KDM model]]
| + | |
− | | + | |
− | We obtain a UML target model :
| + | |
− | | + | |
− | [[Image:MoDisco-KDM Uml target model.jpg|frame|center|UML model]]
| + | |
− | | + | |
− | This UML model could be displayed in any modeler :
| + | |
− | | + | |
− | [[Image:MoDisco-KDM Uml target diagram.jpg|frame|center|UML diagram]]
| + | |
− | | + | |
− | == Current Limitations ==
| + | |
− | | + | |
− | The bidirectional UML Association elements are not identified by the rules: two complementary unidirectional UML Association elements are generated.
| + | |