Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » UML2 to Ecore
UML2 to Ecore [message #469830] Thu, 01 February 2007 21:50 Go to next message
Nick is currently offline NickFriend
Messages: 34
Registered: July 2009
Member
Hi,

I modeled my class diagram and sequence diagram in a UML modeling
project in RSA. I try to export my models in RSA into ecore models but
the output ecore file only contains information regarding the class
diagram and nothing about the sequence diagram. Is there a way in RSA
that I can export the sequence diagram into an ecore model as well? I am
trying to parse through the ecore model using the EMF API. I also try to
export my models in UML2 format and parse through the model using the
UML2 API but I am having difficulties because I can't find any
documentation or sample code on how to use the API.

Any help from someone that could point me to the right direction on how
to parse a UML2 model would be greatly appreciated. Thanks.

Nick
Re: UML2 to Ecore [message #469872 is a reply to message #469830] Fri, 02 February 2007 03:59 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Nick,

Ecore does not use information from sequence diagrams, it only considers
constructs from class diagrams.
Try having a look at the "getting started" articles by Kenn Hussey for
information on working with the UML API.

Regards,

- James.

"Nick" <nicklhw@gmail.com> wrote in message
news:eptn9j$3us$1@utils.eclipse.org...
> Hi,
>
> I modeled my class diagram and sequence diagram in a UML modeling project
> in RSA. I try to export my models in RSA into ecore models but the output
> ecore file only contains information regarding the class diagram and
> nothing about the sequence diagram. Is there a way in RSA that I can
> export the sequence diagram into an ecore model as well? I am trying to
> parse through the ecore model using the EMF API. I also try to export my
> models in UML2 format and parse through the model using the UML2 API but I
> am having difficulties because I can't find any documentation or sample
> code on how to use the API.
>
> Any help from someone that could point me to the right direction on how to
> parse a UML2 model would be greatly appreciated. Thanks.
>
> Nick
Re: UML2 to Ecore [message #579344 is a reply to message #469830] Fri, 02 February 2007 03:59 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Nick,

Ecore does not use information from sequence diagrams, it only considers
constructs from class diagrams.
Try having a look at the "getting started" articles by Kenn Hussey for
information on working with the UML API.

Regards,

- James.

"Nick" <nicklhw@gmail.com> wrote in message
news:eptn9j$3us$1@utils.eclipse.org...
> Hi,
>
> I modeled my class diagram and sequence diagram in a UML modeling project
> in RSA. I try to export my models in RSA into ecore models but the output
> ecore file only contains information regarding the class diagram and
> nothing about the sequence diagram. Is there a way in RSA that I can
> export the sequence diagram into an ecore model as well? I am trying to
> parse through the ecore model using the EMF API. I also try to export my
> models in UML2 format and parse through the model using the UML2 API but I
> am having difficulties because I can't find any documentation or sample
> code on how to use the API.
>
> Any help from someone that could point me to the right direction on how to
> parse a UML2 model would be greatly appreciated. Thanks.
>
> Nick
Previous Topic:Do the UML Tools export to Java or C source?
Next Topic:[Announce] MDT UML2 is available
Goto Forum:
  


Current Time: Fri Jun 05 11:01:46 GMT 2020

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

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

Back to the top