[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: sharing a single read-only resource instance between resource sets

Jose,

Specializing ResourceSetImpl.delegatedGetResource can be specialized to search additional resources outside of the resource set. Probably you'll want to call super from your override.


Jose Hernandez wrote:
Hi,

I would like to share a single read-only resource, containing reference data, between several resource sets without having to make multiple copies of the resource with the referance data. I.e. in order to conserve memory I need all the resource sets that need the reference data to access the _single_ in-memory instance of the shared resource.

Is there a way of doing this in EMF?

Thanks,
Jose