|
|
(16 intermediate revisions by 6 users not shown) |
Line 1: |
Line 1: |
− | {{MoDiscoTabs|ModelBrowser}}
| + | #REDIRECT [[MoDisco/Moved To Help Center]] |
− | | + | |
− | == UMLConverter ==
| + | |
− | | + | |
− | 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 ===
| + | |
− | | + | |
− | 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]]
| + | |
− | | + | |
− | 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 plug-in you need: | + | |
− | * JDK 1.5 or above
| + | |
− | * a version of Eclipse 3.3 or above with the following set of plug-ins 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]]
| + | |
− | | + | |
− | === Team ===
| + | |
− | Gabriel Barbier ([http://www.mia-software.com Mia-Software])
| + | |
− | | + | |
− | Fabien Giquel ([http://www.mia-software.com Mia-Software])
| + | |
− | | + | |
− | Frédéric Madiot ([http://www.mia-software.com Mia-Software])
| + | |
− | | + | |
− | === Install ===
| + | |
− | | + | |
− | ==== Sources ====
| + | |
− | You will find a version of this plug-in in [http://dev.eclipse.org/viewsvn/index.cgi/plugins/trunk/org.eclipse.gmt.modisco.kdm.uml2converter/?root=Modeling_MODISCO 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 [http://www.eclipse.org/gmt/modisco/downloads/ archived site] or use [http://www.eclipse.org/gmt/modisco/updates/ 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 [[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 a 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 can 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.
| + | |
− | | + | |
− | [[Category:MoDisco]]
| + | |