Community
Participate
Working Groups
Presumably, unmapResourceSet(TransactionalEditingDomain) should remove the adapter added in mapResourceSet(TransactionalEditingDomain). Unfortunately, it doesn't seem to do anything at all. None of the adapters I see on my editing domain's resource set (and the ResourceSetDomainLink in particular) are removed. This is a relatively big deal for anyone who needs to use a resource set outside of the context of a single editing domain, because there's no clean way to remove the ResourceSetDomainLink from the resource set without removing *all* adapters. This bug was observed in the version of EMFT that came with the June-end Callisto release simultaneous with the Eclipse 3.2.0 release. I'm not sure what version number that corresponds to; sorry.
Committed a fix to HEAD (version 1.1). The unmapResourceSet() method now looks for the correct adapter type. Also ensured that the default implementation of TransactionalEditingDomain.dispose() does this unmapping, so that after disposing an editing domain, the resource set no longer references it.
Move to verified as per bug 206558.