Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Re: SOS advise from EMF specialist
Re: SOS advise from EMF specialist [message #539382] Thu, 10 June 2010 11:00 Go to next message
Ed Merks is currently offline Ed Merks
Messages: 25948
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--
Re: SOS advise from EMF specialist [message #539604 is a reply to message #539382] Fri, 11 June 2010 09:27 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad Varnica
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
Did you try to load your model inside the Eclipse Model Editor which is one of the MDT component.
If the model could be loaded then it will work with any compatible tool, if not then you are in trouble and need transformation.
Good luck Rolling Eyes

[Updated on: Fri, 11 June 2010 09:29]

Report message to a moderator

Re: SOS advise from EMF specialist [message #628510 is a reply to message #539382] Fri, 11 June 2010 09:27 Go to previous message
Vlad Varnica is currently offline Vlad Varnica
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
Did you try to load your model inside the Eclipse Model Editor which is one of the MDT component.
If the model could loaded then it will work with any compatible tool, if not then you are in trouble and need transformation.
Good luck :roll:
Previous Topic:Re: SOS advise from EMF specialist
Next Topic:UML profiles and MIWG Test Case 3
Goto Forum:
  


Current Time: Fri Aug 01 01:54:54 EDT 2014

Powered by FUDForum. Page generated in 0.01938 seconds