Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Convert to EMF
Convert to EMF [message #1061302] Fri, 31 May 2013 02:01 Go to next message
Eclipse UserFriend
i've been digging around to resolve my current problems in my app.
so i found http://wiki.eclipse.org/Texo/Convert_to_EMF

i got one short question to this article.
do i need to generate a TEXO model AND an EMF model
(means generating files throuch TEXO and EMF.genmodel)

thanks in advance

if so, no mapping is needed, the converter simply knows which classes to use?
Re: Convert to EMF [message #1061303 is a reply to message #1061302] Fri, 31 May 2013 02:04 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ludwig,
The Texo classes are needed. If there are no generated EMF classes then Texo will convert to DynamicEObjects. So Texo
uses the EFactory of the EPackage to instantiate the EObjects.

gr. Martin

On 05/31/2013 08:01 AM, Ludwig Moser wrote:
> i've been digging around to resolve my current problems in my app.
> so i found http://wiki.eclipse.org/Texo/Convert_to_EMF
>
> i got one short question to this article.
> do i need to generate a TEXO model AND an EMF model
> (means generating files throuch TEXO and EMF.genmodel)
>
> thanks in advance
>
> if so, no mapping is needed, the converter simply knows which classes to use?


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: Convert to EMF [message #1061306 is a reply to message #1061303] Fri, 31 May 2013 02:21 Go to previous messageGo to next message
Eclipse UserFriend
but i CAN generate the same model with a genfile, and then it recognizes these files? (if so how do i tell the location?)
Re: Convert to EMF [message #1061406 is a reply to message #1061306] Fri, 31 May 2013 09:39 Go to previous message
Eclipse UserFriend
Yes you can, you need to make sure that the epackage of the EMF generated code is initialized before the model package
of Texo. Afair then the EMF EPackage is used by texo and the right EObjects are created.

gr. Martin

On 05/31/2013 08:21 AM, Ludwig Moser wrote:
> but i CAN generate the same model with a genfile, and then it recognizes these files? (if so how do i tell the location?)


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Previous Topic:[Texo] OptimisticLockException
Next Topic:[Edapt] install on Kepler
Goto Forum:
  


Current Time: Wed Jul 23 14:19:54 EDT 2025

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

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

Back to the top