Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsRead an unsaved value
https://www.eclipse.org/forums/index.php/mv/msg/327161/841702/#msg_841702
Lets assume i got a reference between two files A and B.
This is a simple reference defined in EMF.
Now i change an attribute in an Object in File A in the graphical editor.
How can i access this unsaved value ? For example if i want to see it in File B ?
Is it necessary that i perform a save here ?
Or is it possible to retrieve unsaved values ?
Greetings ]]>Snakebyte Missing name2012-04-11T16:38:37-00:00Re: Read an unsaved value
https://www.eclipse.org/forums/index.php/mv/msg/327161/841765/#msg_841765
Several objects in this model can create relations to other objects in other files created from the same model using the load resource option.
If for example the identification attribute of one node changes this would not appear in the properties view with the new value, but with the old saved one.
Is it possible to change this ?
In another use case the referencing objects, set some of their attributes depending on the referenced object. This is only changed in the editor or property view if the containing resource of the reference is saved.
Isnt it possible to keep a consistent data, correctly shown, between these resources without saving ?
Or really short : How can i make other opened editors sensitive to unsaved changes made in any other open editor ? For example if i set a property in File A, which sets a property in FileB.]]>Snakebyte Missing name2012-04-11T17:58:05-00:00Re: Read an unsaved value
https://www.eclipse.org/forums/index.php/mv/msg/327161/841896/#msg_841896
I already looked at the post in the GMF wiki, but this seems to explain how to do this when using severel meta models.
I want to use just one meta-modell. is there any explanation on this ?]]>Snakebyte Missing name2012-04-11T20:51:06-00:00Re: Read an unsaved value
https://www.eclipse.org/forums/index.php/mv/msg/327161/842081/#msg_842081
Anyway this seem to throw some new strange exceptions.
Try to investigate it self first.]]>Snakebyte Missing name2012-04-12T01:38:10-00:00