|
Re: Can Papyrus generate UML from XML or XSD? [message #1703128 is a reply to message #1702519] |
Tue, 28 July 2015 17:58 |
|
Hi,
You can use the EMF model importer to import a model from XSD and then
export it to UML.
Use the "File -> New -> Other..." menu action, take "EMF Generator
Model" in the wizard, and choose XSD as the import source. When you
have finished, you should end up in the editor for a *.genmodel
resource. EMF will have created an *.ecore from your schema. The
Generator menu has an option to export the model. Choose UML in this
wizard and see what you get. You can initialize the Papyrus diagrams
for the resulting *.uml resource if you like.
HTH,
Christian
On 2015-07-22 20:27:16 +0000, Thom DeCarlo said:
> I'm looking for a way to model an XML schema and I thought Papyrus
> would be able to help me. But now I'm not so sure, or at least I
> haven't found a way to do it yet.
>
> Is there some way in Eclipse (whether using Papyrus or something else,
> of course preferably free) to generate a UML representation of an XML
> schema?
>
> Thanks!
|
|
|
|
|
Re: Can Papyrus generate UML from XML or XSD? [message #1704901 is a reply to message #1703996] |
Mon, 10 August 2015 14:11 |
|
Hi, Thom,
You will just have to start creating new diagrams using the "New
Diagram" action in the context menu in the Model Explorer view.
There is an "extra component" that is intended to populate diagrams
automatically from existing models in some coherent and sensible way,
but I know nothing about it, not even whether it works with the version
of Papyrus that you are using.
Cheers,
Christian
On 2015-08-06 13:35:10 +0000, Thom DeCarlo said:
> Well, I've gotten as far as creating the *.ecore, *.genmodel, and *.uml
> files. But, I can't figure out how to turn them into a Papyrus diagram.
> There is a blank *.di file (which I think should hold the diagram), but
> I don't see how to initialize the diagram from the uml file.
|
|
|
Powered by
FUDForum. Page generated in 0.04815 seconds