Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » SOS advise from EMF specialist
SOS advise from EMF specialist [message #539312] Thu, 10 June 2010 11:15 Go to next message
Randi  is currently offline Randi Friend
Messages: 31
Registered: November 2009
Member
I need to read UML diagrams that are serialized into XMI. Is there any library that would allow me to conveniently read UML XMI - by conveniently I mean having some methods to iterate over classes/packages/methods/attributest etc. in model.

I tried EMF, but I am unable to find any tutorial that would show how to import XMI containing UML and iterate through those elements.

Where can I find more information about this ?

Als I try to investigate the emfdiff from EMF compare ,and how I can iterate easily through those elements so I can write this eg in a textfile where I can gather the elements which are the deleted/modified /added

Many thanks
Re: SOS advise from EMF specialist [message #539380 is a reply to message #539312] Thu, 10 June 2010 15:00 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------050607080507010004060506
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Randi,

Yes, the UML2 project provides all you need. I've added its
newsgroup/forum to the"to" list of the reply. Have a look the
documentation first:
<http://wiki.eclipse.org/index.php/MDT-UML2>

http://wiki.eclipse.org/index.php/MDT-UML2


Randi wrote:
> I need to read UML diagrams that are serialized into XMI. Is there any
> library that would allow me to conveniently read UML XMI - by
> conveniently I mean having some methods to iterate over
> classes/packages/methods/attributest etc. in model.
>
> I tried EMF, but I am unable to find any tutorial that would show how
> to import XMI containing UML and iterate through those elements.
>
> Where can I find more information about this ?
>
> Als I try to investigate the emfdiff from EMF compare ,and how I can
> iterate easily through those elements so I can write this eg in a
> textfile where I can gather the elements which are the
> deleted/modified /added
> Many thanks

--------------050607080507010004060506
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Randi,<br>
<br>
Yes, the UML2 project provides all you need.  I've added its
newsgroup/forum to the"to" list of the reply.  Have a look the
documentation first:<a href="http://wiki.eclipse.org/index.php/MDT-UML2"><br>
</a>
<blockquote><a href="http://wiki.eclipse.org/index.php/MDT-UML2">http://wiki.eclipse.org/index.php/MDT-UML2</a><br>
</blockquote>
<br>
Randi wrote:
<blockquote cite="mid:huqhh3$dsf$1@build.eclipse.org" type="cite">I
need to read UML diagrams that are serialized into XMI. Is there any
library that would allow me to conveniently read UML XMI - by
conveniently I mean having some methods to iterate over
classes/packages/methods/attributest etc. in model.
<br>
<br>
I tried EMF, but I am unable to find any tutorial that would show how
to import XMI containing UML and iterate through those elements.
<br>
<br>
Where can I find more information about this ?
<br>
<br>
Als I try to investigate the emfdiff from EMF compare ,and how I can
iterate easily through those elements so I can write this eg in a
textfile where I can gather the elements which are  the
deleted/modified /added <br>
Many thanks
<br>
</blockquote>
</body>
</html>

--------------050607080507010004060506--


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[EMF Compare] Problem starting EMF Compare Standalone
Next Topic:SOS advise from EMF specialist
Goto Forum:
  


Current Time: Tue Apr 16 09:06:50 GMT 2024

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

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

Back to the top