Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Importing EMF models into Java through code
Importing EMF models into Java through code [message #1692179] Tue, 14 April 2015 07:52 Go to next message
Ferdinand von den Eichen is currently offline Ferdinand von den EichenFriend
Messages: 9
Registered: March 2015
Junior Member
Hi everyone,

here's what I'm going for: I need to import an emf model (ecore?) into my Java application. All I need is read access, there is no need to write back into the model. Ideally I would like to specifiy the path to the emf file and iterate through the component tree.

I'm sure this question has been asked, so feel free to point me to exisitng answers. If there are any plugins that facilitate what I need, I'd also be interested.

Greetings & Thanks,
Ferdinand
Re: Importing EMF models into Java through code [message #1692229 is a reply to message #1692179] Tue, 14 April 2015 12:22 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Ferdinand,

Is this a stand alone application or is it running as part of the IDE?
Do you really mean you want to load *.ecore file? Or rather is it an
instance of some model?


On 14/04/2015 9:52 AM, Ferdinand von den Eichen wrote:
> Hi everyone,
>
> here's what I'm going for: I need to import an emf model (ecore?) into
> my Java application. All I need is read access, there is no need to
> write back into the model. Ideally I would like to specifiy the path
> to the emf file and iterate through the component tree.
>
> I'm sure this question has been asked, so feel free to point me to
> exisitng answers. If there are any plugins that facilitate what I
> need, I'd also be interested.
>
> Greetings & Thanks,
> Ferdinand


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Importing EMF models into Java through code [message #1692330 is a reply to message #1692229] Wed, 15 April 2015 07:17 Go to previous message
Ferdinand von den Eichen is currently offline Ferdinand von den EichenFriend
Messages: 9
Registered: March 2015
Junior Member
Hey Ed,

I have already resolved the issue myself. Smile

Thanks for your help, though!

Greetings,
Ferdinand
Previous Topic:Dynamic EMF
Next Topic:[CDO] How to access CDO Preference window
Goto Forum:
  


Current Time: Fri Apr 26 08:38:21 GMT 2024

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

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

Back to the top