How to import a SysML model (in XMI format) into Papyrus?

I have an XMI 2.1 formatted SysML model exported from Enterprise Architect.

I rate Papyrus as an alternative IDE model. I would like to import my XMI file into Papyrus, including all structural and behavioral blocks.

Here is what I tried:

  • Create a new Papyrus project.
  • Right-click the project, select Import, and browse to my XMI file.

However, this simply includes the XMI file in the Papyrus project. If I open it, I see the model elements as XML.

Does Papyrus support XMI import, and if so, how to do it?

+4
source share
1 answer

I recently worked with a similar problem, although with UML, so your mileage may vary.

I solved this with a hint regarding Eclipse EMF from here: http://www.eclipse.org/forums/index.php?t=msg&goto=606949&S=333b8c3faacad6b950cf6247312f9c3e

Since SysML is a dialect of UML2, you should be able to create a new EMF project; and in the project creation wizard you will be given the opportunity to import the XMI file.

+3
source

Source: https://habr.com/ru/post/1347931/


All Articles