[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.emf] Re: Reloading EMF resources

Thomas,

You can call Resource.unload().

Frank.


Thomas Sharp wrote:

> I'm working on the core code for the SUBuilder plugin in WSAD and the
> Development Center. We call the
> SQLModelPlugin.getResourceSet().load(uriName) to load a project. Our
> problem is that the ResourceSet gives us back the existing resource for
> the project even when we want to reload it from disk. Experimentally, I
> have found that replacing SQLModelPlugin and setting the ResourceSet to
> null forces the code I don't own to reload the project, but I think
> there must be a better way to force a reload. Brian Payton said he
> thought there might be an unsettable declaration, but I need a
> resettable declaration. Is there one?