Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Import/Export of XMI models to/from the EMFStore (How to import/export an XMI model to/from the EMFStore)
Import/Export of XMI models to/from the EMFStore [message #1700696] Mon, 06 July 2015 10:01 Go to next message
Eclipse UserFriend
Hi,

Is there a way to import/export the EMF model in XMI format into/from the EMFStore?

Appreciate any response!

Thank you!

Re: Import/Export of XMI models to/from the EMFStore [message #1701033 is a reply to message #1700696] Wed, 08 July 2015 15:55 Go to previous messageGo to next message
Eclipse UserFriend
Hi Yuri,

have you already tried to read the XMI file via a resource, get its
contents and add them via ESLocalProject.getModelElements().

Cheers,
Edgar

> Hi,
> Is there a way to import/export the EMF model in XMI format into/from
> the EMFStore?
>
> Appreciate any response!
>
> Thank you!
>
>


--
Edgar Mueller

Get Professional Eclipse Support:
http://eclipsesource.com/en/services/developer-support/
Re: Import/Export of XMI models to/from the EMFStore [message #1701209 is a reply to message #1701033] Thu, 09 July 2015 16:51 Go to previous message
Eclipse UserFriend
Hi, Edgar.

No I haven't tried any programmatic way.

I made it work finally once I had changed my XMI model so that it didn't extend any of the ECore elements (EClass or EAttribute) - initially the model I created was extending ECore model quite a bit.

Then I could import it into the EMF Store Model Explorer and had no issues. It seems that EMF Store gets confused if the model depends on any of the ECore modeling elements.

Thank you for your response.

Regards,
-Yuri
Previous Topic:[EMF Forms] Null Pointer Exception on Custom View
Next Topic:Question: How to import an XMI model into EMFStore Model Explorer
Goto Forum:
  


Current Time: Wed Jul 09 14:27:04 EDT 2025

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

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

Back to the top