Convert a UML class diagram created using Papyrus to a .ecore file

Here is what I do using eclipse:

  • Create a new Papyrus project
  • Create a class diagram in Papyrus
  • Create a new empty EMF project
  • Use the EMF generator model to convert my .uml file (created using Papyrus) to a .ecore file

Now I would like to do it in Java. I found a post here where someone is doing this from XSD . I would like to do the same, but with UML. User565300 uses something called Xsd2Ecore, but I could not find Uml2Ecore. Do you guys know what eclipse uses to convert a UML file?

+3
source share
2 answers

, , .

Papyrus, Obeo UML Designer 6.1.

1) UML Designer " ". File- > New.

2) Papyrus, ECore. node "" "uml". node "uml" "model.uml". .

3) . , "model.uml". .

4) "root resource node" , " node". - UML, , . - - , , .

5) , " UML". node , " " → " Ecore..."

6) . .

Obeo Designer - , GitHub, , "Ecore...", GitHub.

+1

- UML, . , , , , , Eclipse 3.5 . Topcased, , . , Topcased , Papurus MDT, MDP Papyrus.

ecore , GMF, Ecore. GMF Eclipse 3.5 , ... ,

0

All Articles