private LibraryNode getExistingLibraryNode(LibraryNode node) {
    if (myExternalNode != null) {
      for (int i = 0; i < myExternalNode.getChildCount(); i++) {
        TreeNode child = myExternalNode.getChildAt(i);
        if (child instanceof LibraryNode && child.equals(node)) {
          return (LibraryNode)child;
        }
      }
    }
    return null;
  }
private LibraryNode getExistingLibraryNode(LibraryNode node)