}
}
private void handleChildAdded(TreeNode parentTn, final OWLEntity child, boolean shouldSelect) {
final TreeNode childTn = findTreeNode(child.getIRI().toString());
final TreeNode freshChild;
if (childTn == null) {
final PropertyEntityData entityData = createEntityDataPlaceholder(child);
freshChild = createTreeNode(entityData);
updateTextAsync(child, freshChild);
parentTn.appendChild(freshChild);
}
else {
freshChild = childTn;
}
if (freshChild != null && shouldSelect) {
parentTn.expand();
freshChild.select();
selectNode(freshChild);
}
}