I encountered a problem in accessing an instance of a Ecore modell
residing in my workspace of Eclipse.
Situation: I want to access an Ecore Modell from a newly created Plugin
existing in the current Eclipse instance. This can be done via an URL file
based. if I now open die URL I can access the content and everything is
fine.
Now if an Ecore Model editor is open in the same time the model won't be
updated immediately. I have to refresh the display.
Question: The Ecore Model Editor owns a Ecore Model reference itself
(EObject root node). How can I access this root node of the opened Ecore
Model Editor?
The background is: I want to alter the content of an Ecore model via EMF
techniques and whenever a change was registered the EMF fires various
events about this update and the Ecore Model Editor changes its display
"on the fly". Now if I change the model from another Eclipse Plugin via
this root node instance of the opened Ecore Model Editor I can "see" the
changes in the moment they happen...
I hope I made myself clear enough that some one could help me ;)