Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [XCORE] Compare models
[XCORE] Compare models [message #1265942] Thu, 06 March 2014 19:26 Go to next message
Simone Di Cola is currently offline Simone Di ColaFriend
Messages: 60
Registered: February 2014
Member
Hi all,
I'd like to know if there is a way to check if a xcore model is equivalent to an ecore model.
If not, it is possible to extract the ecore model from a xcore one?

Thanks
Simone

Re: [XCORE] Compare models [message #1265962 is a reply to message #1265942] Thu, 06 March 2014 19:59 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Simone,

An Xcore resource contains an EPackage, so it should be possible to
compare that to some other EPackage. You can also create a new
Generator model and import from Xcore to create a separate Ecore and
GenModel that should be equivalent to the Ecore and GenModel induced by
Xcore.

On 06/03/2014 8:26 PM, Simone Di Cola wrote:
> Hi all,
> I'd like to know if there is a way to check if a xcore model is
> equivalent to an ecore model.
> If not, it is possible to extract the ecore model from a xcore one?
>
> Thanks Simone
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [XCORE] Compare models [message #1266389 is a reply to message #1265962] Fri, 07 March 2014 11:33 Go to previous messageGo to next message
Simone Di Cola is currently offline Simone Di ColaFriend
Messages: 60
Registered: February 2014
Member
Thanks Ed.
Anyway, it is possible to extract the ecore model from a xcore one?

Simone
Re: [XCORE] Compare models [message #1266965 is a reply to message #1266389] Sat, 08 March 2014 07:27 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Simone,

Yes, I explained how.
https://wiki.eclipse.org/Xcore#Converting_an_Xcore_Model_to_a_GenModel

On 07/03/2014 12:33 PM, Simone Di Cola wrote:
> Thanks Ed. Anyway, it is possible to extract the ecore model from a
> xcore one?
>
> Simone


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic: Saving of a resource and modifying the same after save operation
Next Topic:Storing standalone validation preferences
Goto Forum:
  


Current Time: Wed Apr 24 22:47:59 GMT 2024

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

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

Back to the top