unsynchronized editors on the same model [message #490493] |
Thu, 08 October 2009 20:02 |
RefuX Zanzeebarr Messages: 51 Registered: July 2009 |
Member |
|
|
My setup:
I have one type of editor and one model. In the gmfgen file the editor
is set as unsynchronized.
This enables me to do what I want which is have a bunch of (the same
type) of editors giving a view into the same model.
I run into trouble when I edit something in Editor A then switch to
Editor B edit something and save in Editor B and switch back to Editor A.
Editor A complains about 'the file has been changed on the file system'
and having to load the changes, which then wipe out my changes in Editor A.
From the research I have done, it seems when I switch to an different
Editor, the diagram data is loaded, this diagram data has references to
my model, the model object is then asked for its resource, which results
in the entire model being reloaded off disk. The upshot of this is that
if I have 10 editor windows open, I will have 10x instances of my model
objects.
This also causes the synchronization issues since every editor is
working off different model objects.
I must admit I haven't thought through all issues that can occur if all
the editors work off the same model instances, but it seems to me, that
is what I would want to do.
I assume this is how a tool like RSA functions, where there are many
diagrams referencing the same model...
Any advice on how I can get the behavior I would like to achieve would
be wonderful!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03492 seconds