Import Model

If you have an .xmi model and you want to treat it through GraCoT, you have to import it and transform in a gimm model. For this you must click right on the project or any folder, then you must select “new” and “other”. See next figure:




Then, a wizard similar to next figure will be shown and you must select “Import xmi and transfom” in GraCoT section.




In the following page of this wizard you must provide the xmi location in the workspace. So, you can write the location directly or you can browse in the workspace like the following figures:




Similar to .xmi location, you must provide the domain metamodel location:




Finally, you must provide the gimm model name and its location in the workspace.




When you finish, a new gimm model will be created and you could see it in the package explorer view




Then, you must create the corresponding [gracot_CreateDiagramModel|gimm diagram]].

Example

Considering the next metamodel and model:




If you apply the “Import xmi and transform” option the result over the gimm diagram will be:




Example import

gracot_importmodel.txt · Última modificación: 2012/11/23 08:27 por ha.florez39
Departamento de Ingeniería de Sistemas y Computación - Facultad de Ingeniería - Universidad de los Andes
CC Attribution-Noncommercial-Share Alike 3.0 Unported
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0