[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Loading EMF editor from model object in memory

Hi, I?m trying to integrate an EMF generated editor into my RCP and am stuck on figuring out how to create a URI that can be passed into editingDomain.loadResource() with a root model object that comes from a server not a file. In the generated editor it assumes the editor input is a FileInput and I?ve made the change where the editor input has a reference to the model class I want to edit. So the question is, how can I turn this model object into a URI that can then be passed into editingDomain.loadResource(). If this does not make sense or if I?m on the wrong track any high level pointers about how to go about modifying EMF generated editors so they receive their root model object from memory instead of a file would be much appreciated! ? Duncan