@Nullable
  public PackagingElement<?> getElementIfSingle() {
    return mySelectedElements.size() == 1 ? mySelectedElements.get(0) : null;
  }
@Nullable
  public PackagingElement<?> getElementIfSingle()