|
|
Re: Parse UML2 diagrams with Papyrus [message #1232124 is a reply to message #1232108] |
Thu, 16 January 2014 09:26 |
Jingang Zhou Messages: 18 Registered: August 2010 |
Junior Member |
|
|
Thank you, Camille.
To be precisely, my use case is basically reading Papyrus/UML files from our own tools to extract some model information, e.g., components, layers, and relations among these modle elments, and then these information can be used as a design specification as its own file format needed by our own tools.
Since this reading (parsing) maybe complex as you said it is trivial, can we extract these information in the Papyrus environment and write them via Papyrus APIs to a formatted file we want?
Regards,
Robin
|
|
|
Re: Parse UML2 diagrams with Papyrus [message #1232132 is a reply to message #1232124] |
Thu, 16 January 2014 09:38 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi Robin,
It would be easier to read these files directly from Papyrus, then produce the files you need. If the external tool is compatible with EMF, you can also import the Eclipse/UML2 metamodel in this other tool, then use their APIs to read the models from this other tool.
The files used by Papyrus are pure-EMF, so any documentation related to EMF (Eclipse Modeling Framework) should help you to achieve that.
Regards,
Camille
Camille Letavernier
|
|
|
Powered by
FUDForum. Page generated in 0.02463 seconds