uml2 file format [message #378056] |
Tue, 12 February 2008 08:36  |
Eclipse User |
|
|
|
Hi,
what kind of format is the *.uml-file of a model in Eclipse/EMF? Is there
a schema for it? After extracting information from xml-files of another
XML schema I want to automatically generate such an *.uml-file but I dont
know which rules to observe in the generation process. Is there an
intuitive way to do this generation starting from a filled DocumentRoot
EObject?
Cheers,
Jochen
|
|
|
|
Re: uml2 file format [message #378080 is a reply to message #378056] |
Tue, 12 February 2008 08:57  |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Jochen,
This is a question for the UML2 newsgroup, included in this reply.
The default resource implementation for *.uml resources is an XMI
serialization with certain EMF-isms for extension data. The schema is
described by the UML.ecore model in the org.eclipse.uml2.uml bundle. UML2
is also capable of loading the standard XMI serialization of UML 2.1.
Concerning the transformation of data from your XML files to the UML2
schema, it might help to see how the UMLUtil::Ecore2UMLConverter class
converts Ecore models to roughly-equivalent UML models.
HTH,
Christian
Jochen Zimmermann wrote:
> Hi,
>
> what kind of format is the *.uml-file of a model in Eclipse/EMF? Is there
> a schema for it? After extracting information from xml-files of another
> XML schema I want to automatically generate such an *.uml-file but I dont
> know which rules to observe in the generation process. Is there an
> intuitive way to do this generation starting from a filled DocumentRoot
> EObject?
>
> Cheers,
> Jochen
|
|
|
Re: uml2 file format [message #581577 is a reply to message #378056] |
Tue, 12 February 2008 08:53  |
Eclipse User |
|
|
|
Jochen,
This question is more appropriate for the eclipse.modeling.mdt.uml2
newsgroup (copied).
Kenn
"Jochen Zimmermann" <zimmermann@fzi.de> wrote in message
news:6948fbb3f1679c254df7ccd6bab42725$1@www.eclipse.org...
> Hi,
>
> what kind of format is the *.uml-file of a model in Eclipse/EMF? Is there
> a schema for it? After extracting information from xml-files of another
> XML schema I want to automatically generate such an *.uml-file but I don
|
|
|
Re: uml2 file format [message #584684 is a reply to message #378056] |
Tue, 12 February 2008 08:57  |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Jochen,
This is a question for the UML2 newsgroup, included in this reply.
The default resource implementation for *.uml resources is an XMI
serialization with certain EMF-isms for extension data. The schema is
described by the UML.ecore model in the org.eclipse.uml2.uml bundle. UML2
is also capable of loading the standard XMI serialization of UML 2.1.
Concerning the transformation of data from your XML files to the UML2
schema, it might help to see how the UMLUtil::Ecore2UMLConverter class
converts Ecore models to roughly-equivalent UML models.
HTH,
Christian
Jochen Zimmermann wrote:
> Hi,
>
> what kind of format is the *.uml-file of a model in Eclipse/EMF? Is there
> a schema for it? After extracting information from xml-files of another
> XML schema I want to automatically generate such an *.uml-file but I dont
> know which rules to observe in the generation process. Is there an
> intuitive way to do this generation starting from a filled DocumentRoot
> EObject?
>
> Cheers,
> Jochen
|
|
|
Powered by
FUDForum. Page generated in 0.04162 seconds