Bug 338707 Reconciler chokes on elements under parents that have been removed from the model
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/XMLModelReconciler.java
}
				for (FeatureChange change : entry.getValue()) {
					if (change.getFeatureName().equals(WINDOW_SHAREDELEMENTS_ATTNAME)) {
						EList<?> value = (EList<?>) change.getValue();
						if (value.contains(reference)) {
							return key;
						}
					}
				}
			}
			if (reference instanceof MWindow) {
				for (Entry<EObject, EList<FeatureChange>> entry : objectChanges.entrySet()) {
					EObject key = entry.getKey();
					if (key instanceof MPerspective) {
						for (FeatureChange change : entry.getValue()) {
							if (change.getFeatureName().equals(PERSPECTIVE_WINDOWS_ATTNAME)) {
								EList<?> value = (EList<?>) change.getValue();
								if (value.contains(reference)) {
									return key;
								}
								break;
							}
						}
					}
				}
			}
			if (!newElement) {
				return reference instanceof MApplication ? changeDescription : reference
						.eContainer();
			}