|2 Resources in 1 Domain leads to a Problem during Save/Refresh [message #667217]
||Wed, 27 April 2011 13:43
| Robert Fritzsche
Registered: April 2011
I have two resources in one TransactionEditingDomain. When I open the resource with the Graphiti editor a customised DiagramEditor generates a new DiagramEditorInput with a additional resource path to a new digram file.
Resources in ResourceSet:
 platform:/resource/Test/My.bcm_spn (original model)
 platform:/resource/Test/My.bob#/ (diagram)
It must have the ending #/ otherwise it crashes (can anyone tell me why, has to do with loading on demand?). But after setting the input an additional resource will be added:
I think that's leads to my problem.
After drawing something and save (it will be saved in the second resource, it also is written to the first two files), but after switching a tab back and towards the refresh (or something else) destroys the model (maybe loading the 3rd resource). After saving again the destroyed model will be written to the first two resources and destroy the files.
Have anyone a glue what happen here?
Powered by FUDForum
. Page generated in 0.03744 seconds