// Finally, restore selection paths.
for (int index = 0; index < node.getChildCount(); index++) {
MCTMutableTreeNode childNode = (MCTMutableTreeNode) node.getChildAt(index);
View childView = (View) childNode.getUserObject();
if (expanded.contains(childView.getManifestedComponent().getComponentId())) {
parentTree.expandPath(childNode.getTreePath());
childNode.setProxy(false); // If expanded node is mislabeled as proxy, it will lose updates
}
}
treeModel.nodeChanged(node);