XMLElement changedElement = info.getChangedElement();
XMLElement current = getActiveElement();
List removedElements = new ArrayList();
JaWESelectionManager jsm = JaWEManager.getInstance().getJaWEController().getSelectionManager();
if (changedElement == null || (jsm.getSelectedElements().size() == 1 && !jsm.canEditProperties())) {
setActiveElement(null);
} else if (info.getAction() == XMLElementChangeInfo.UPDATED) {
if (current != null && XMLUtil.isChildsParent(current, info.getChangedElement())) {
setActiveElement(current);
}