Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF ECORE] EMF model
[EMF ECORE] EMF model [message #646731] Thu, 30 December 2010 15:59 Go to next message
No real name is currently offline No real nameFriend
Messages: 42
Registered: December 2010
Member
HI,

How can I create a virgin example EMF from an existing EMF model without wizard.?

[Updated on: Thu, 30 December 2010 15:59]

Report message to a moderator

Re: [EMF ECORE] EMF model [message #646752 is a reply to message #646731] Thu, 30 December 2010 17:43 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
ST,

I'm not sure I follow your question. What's a "virgin example EMF"?


ST wrote:
> HI,
>
> How can I create a virgin example EMF from an existing EMF model
> without wizard.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [EMF ECORE] EMF model [message #647034 is a reply to message #646752] Tue, 04 January 2011 08:58 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 42
Registered: December 2010
Member


I'm not sure I follow your question. What's a "virgin example EMF"?


Q1: how can I create an EMF model from a meta-model without using the wizards (which class use?) ?

Q2: I have a model "XML file", and I want to convert it to a model EMF ". ecore", how can I do it?

thx
Re: [EMF ECORE] EMF model [message #647111 is a reply to message #647034] Tue, 04 January 2011 16:02 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
ST,

Comments below.

ST wrote:
>
>
> I'm not sure I follow your question. What's a "virgin example EMF"?
>
>
> Q1: how can I create an EMF model from a meta-model without using the
> wizards (which class use?) ?
If you invoke Generate Test Code and check out the generated
XyzExample.java you'll see how it creates an instance of the model and
saves it to a resource.
>
> Q2: I have a model "XML file", and I want to convert it to a model EMF
> ". ecore", how can I do it?
Likely the XyzExample.java answer this question too.
>
> thx


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[EMF compare]
Next Topic:[TEXO] generating EOperations
Goto Forum:
  


Current Time: Thu Apr 25 09:54:10 GMT 2024

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

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

Back to the top