((SModelInternal) model).removeModelListener(myModelChangeListener);
myTreeNodes.remove(model.getReference());
}</BUG>
}
void refreshAffectedTreeNodes(SModel changed) {
<BUG>final SModelTreeNode treeNode = findTreeNode(changed);

if (treeNode != null) {</BUG>
refreshTreeNodes(treeNode);
}

((SModelInternal) model).removeModelListener(myModelChangeListener);
}
}
}
void refreshAffectedTreeNodes(SModel changed) {
for (SModelTreeNode treeNode : findTreeNode(changed)) {
refreshTreeNodes(treeNode);
