- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
- Enclosing class:
- EmfModel
protected class EmfModel.CachedContentsAdapter
extends org.eclipse.emf.ecore.util.EContentAdapter
This listener is the one that keeps the cached .allInstances
and model .allContents() lists up to date, instead of the usual
createInstance/deleteInstance methods.
This prevents the cache from becoming inconsistent if EcoreUtil
or any other code outside Epsilon is used to create instances
within the model.