}
private IntegrationEntityTreeNode findParentNode(IntegrationEntity entity) {
IntegrationEntityTreeNode parentNode = null;
IntegrationEntity owner = entity.getParent();
for (Object node : new PreOrderTraverser(model)) {
if (((KongaTreeNode) node).getUserObject() == owner) {
parentNode = (IntegrationEntityTreeNode) node;
break;
}
}