}
private void setNewChildren(IntegrationEntityTreeNode opNode, Set<IntegrationEntity> newChildren) {
opNode.removeAllChildren();
opNode.setAllowsChildren(true);
List<IntegrationEntity> itemsToAdd = KList.fromItems(newChildren).sort(new EntityTypeAndNameSorter());
for (IntegrationEntity e : itemsToAdd) {
IntegrationEntityTreeNode nodeToAdd = e.getExtensionObject(IntegrationEntityTreeNode.class);
opNode.add(nodeToAdd);
}
fireOpNodeChanged(opNode);