Saving a second (and third) model loaded into one diagram [message #1738034] |
Fri, 15 July 2016 05:35  |
Eclipse User |
|
|
|
Hi all,
in my editor I have a diagram description where I provide a toolbar button with which the user can load a model extension into the diagram. This works fine and thanks to various java service methods all of the required nodes are shown.
Since I not only want to display the attributes but also want to change their value the problem occured that those changes are not saved even though I specifically set the underlying extension model resource to modified.
There is of course the possibility to just call after a java service method made a change which saves the resource immediately. The diagram however is then still marked as dirty but the extension model is saved so doing so would take the possibility to discard unwanted changes.
My question is if there is any way to tell my diagram that now two (and later three) models are loaded at the same time and by saving the diagrams current state that all of these loaded models are also saved when something has changed?
Greetings,
Michael
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03637 seconds