|
Re: Getting the org.eclipse.emf.ecore.resource.Resource from the Active Editor [message #1268937 is a reply to message #1268903] |
Tue, 11 March 2014 06:57 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Mona,
Generated editors implement IEditingDomainProvider so you can access the
editing domain this way and via the editing domain, the editor's resoure
set.
On 11/03/2014 6:50 AM, Mona Chawla wrote:
> Hi,
>
> I'm trying to get the org.eclipse.emf.ecore.resource.Resource from
> the active editor without reloading it. I neither have the editing
> domain nor the resource set, I want to fetch the existing rather than
> creating new instances.
> I also have the org.eclipse.core.resources.IResource, hence the URI.
> Any help for this, is highly appreciated.
>
> Thanks in advance,
> Mona
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02802 seconds