|
Re: EMF/GMF does not update XMI file [message #429836 is a reply to message #429835] |
Mon, 04 May 2009 15:10 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Alex,
comments below.
Alexander Mack wrote:
> Hello,
> I have a "little" problem with EMF:
>
> I have an eclpise Plugin based on EMF and GMF. In this project I can
> for example paint GUI-Elements like textfields and buttons etc. .The
> problem now is that EMF sometimes does not update the XMI-File.
> The Problem most occurs when I add for example a Textfield an then
> delete it. In the plugin editor the textfield seems to be deleted but
> if I take a loog at the XMI File I will see that there are some
> informations left about that textfield.
>
> Another problem is that I unfortunatly cannot say in which specific
> situations the problem occurs...
>
> Is the only way to solve this problem deleting the whole XMI-Files
> before saving the complete Model? What could I do instead?
I doubt that EMF will ever save something that doesn't accurately
reflect the actual state of the model. I could imagine though the view
not showing something that's actually still in the underlying model. In
other words, it just doesn't seem possible that EMF would not produce an
accurate serialization. The problem must lie elsewhere.
>
> I hope you can help me...
>
> Thanks for your answers & best regards
> Alex
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03849 seconds