if (notifier instanceof ContextModel) {
if (notification.getFeatureID(ContextModel.class) != ProjectPackage.CONTEXT_MODEL__LAYERS)
return;
// we need to tell the map item provider that the layers have changed.
ContextModel model = (ContextModel) notifier;
EList adapters = model.getMap().eAdapters();
for (Object object : adapters) {
if (object instanceof MapItemProvider) {
MapItemProvider mapItemProvider = ((MapItemProvider) object);
// mapItemProvider.updateChildList(notification);
mapItemProvider.getChildFetcher().notifyChanged();