Skip to main content



      Home
Home » Modeling » Papyrus » DSML Custom Storage Format
DSML Custom Storage Format [message #1829978] Wed, 15 July 2020 03:19 Go to next message
Eclipse UserFriend
Hi all,

I'm developing a plugin for a DSML and I already created a profile and a architecture model to create custom class diagrams.

Now I got the task of importing a xml-based information models and create a diagram out of it. I already have to approaches but I don't find much information about it.

1. Change the file format from the .uml to a .xml: Is it possible to customize the parser and use a different input file format ?

2. Write a Importer/Exporter: If my first approach is not possible/feasible is it possible to write a importer/exporter and keep the information model and the uml model in sync?

Thanks for your input.

BR Christoph

PS: I alos posted my question here: https://stackoverflow.com/questions/62909600/papyrus-dsml-custom-storage-format

[Updated on: Wed, 15 July 2020 03:25] by Moderator

Re: DSML Custom Storage Format [message #1830331 is a reply to message #1829978] Thu, 23 July 2020 09:00 Go to previous message
Eclipse UserFriend
Hi Christophe,
I think you should to a new Ecore metamodel for your DSML, then you can write a transformation (in java) between your UML model and your Ecore.
You can also use the xsd format for your metamodel to manage the serialization of the XML. see https://stackoverflow.com/questions/671555/how-to-convert-xsd-to-ecore-emf

/Vincent
Previous Topic:Following the OO paradigm in papyrus
Next Topic:SysML 1.4 Nested Ports
Goto Forum:
  


Current Time: Sat Jul 12 01:24:47 EDT 2025

Powered by FUDForum. Page generated in 0.03392 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top