Preserve the unsaved changes on ecore editor during an external m2m transformation [message #1719065] |
Mon, 04 January 2016 20:43 |
UmaShankar Subramani Messages: 194 Registered: December 2011 Location: SWEDEN |
Senior Member |
|
|
While the ecore editor is still under editing by the user, I want to be able to apply a m2m transformation on the model.
At the same time, I want to preserve the undaved changes.
Any clue of how to do this, will be very helpful.
I am aware of the conflicts that would rise. I will deal with those conflicts later.
For now, I think this is the way I should proceed. Get the saved state of the model, apply the transformation and then reset the unsaved changes.
/Uma
[Updated on: Mon, 04 January 2016 20:57] Report message to a moderator
|
|
|
|
|
|
|
Re: Preserve the unsaved changes on ecore editor during an external m2m transformation [message #1719252 is a reply to message #1719142] |
Wed, 06 January 2016 15:42 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
It's a diff/merge problem. It will not be easily solved and I won't be
able to help you solve it.
On 05/01/2016 4:31 PM, UmaShankar Subramani wrote:
> Hi Ed,
>
> I am sorry. I did not explain it clearly.
>
> Consider the following:
>
> ABCF The saved statenof the model
>
> ABCE*F is the new state(E is newly added and the state is unsaved)
>
> Transformation wants to add "D" next to C so it takes the Saved state
> ABCF and adds "D"
>
> After transformation the result will be ABCDF
>
> Ar the same time the unsaved change should also be applied
> To the model. So that it becomes ABCDE*F (but not ABCDEF)
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04037 seconds