protected void refreshElementAfterCopyTo(DiffElement<?> newElement, DirDiffElementImpl element) {
    if (newElement != null) {
      DTree node = element.getNode();
      node.setType(DiffType.EQUAL);
      node.setTarget(newElement);

      int row = myElements.indexOf(element);
      if (getSettings().showEqual) {
        element.updateSourceFromTarget(newElement);
        fireTableRowsUpdated(row, row);
      }
      else {
        removeElement(element, false);
      }
    }
  }
protected void refreshElementAfterCopyTo(DiffElement<?> newElement, DirDiffElementImpl element)