Skip to main content



      Home
Home » Modeling » EMF » Update EMF Model
Update EMF Model [message #398521] Tue, 14 February 2006 04:50 Go to next message
Eclipse UserFriend
Hi All,

I'd like to know if it is possible (and how) to update the EMF Model in
the following scenario:

1. Create an EMF Model from XSD schema
2. Work with EMF Model
3. Update XSD schema
4. I want to update the EMF model (not to create new model, I need to
keep my modifications in the Model) according to updated XSD schema

Thanks in advance!

Trifonov
Re: Update EMF Model [message #398526 is a reply to message #398521] Tue, 14 February 2006 05:33 Go to previous message
Eclipse UserFriend
Trifonov,

rightclick the model file and select "Reload...". You will have to go
through the "New Model" wizard again, but your defaults will be preset.
After that you will have to regenerate the code. It's important that you
mark methods that you changed with @generated NOT. Otherwise your
changes will be overwritten when regenerating!

Regards,

Oliver

Trifonov wrote:
> Hi All,
>
> I'd like to know if it is possible (and how) to update the EMF Model in
> the following scenario:
>
> 1. Create an EMF Model from XSD schema
> 2. Work with EMF Model
> 3. Update XSD schema
> 4. I want to update the EMF model (not to create new model, I need to
> keep my modifications in the Model) according to updated XSD schema
>
> Thanks in advance!
>
> Trifonov
Previous Topic:Dynamic use of EMF
Next Topic:EMF Documentation Plans?
Goto Forum:
  


Current Time: Wed Nov 05 12:29:35 EST 2025

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

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

Back to the top