Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Convert to EMF
Convert to EMF [message #1061302] Fri, 31 May 2013 06:01 Go to next message
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
Registered: July 2009
Senior Member
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 06:04 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
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 06:21 Go to previous messageGo to next message
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
Registered: July 2009
Senior Member
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 13:39 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
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: Fri Mar 29 06:12:44 GMT 2024

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

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

Back to the top