@Deprecated(forRemoval = true)
  public final Object getSelectedElement() {
    final Object[] elements = getSelectedElements();
    return elements.length == 1 ? elements[0] : null;
  }
@Deprecated(forRemoval = true)
  public final Object getSelectedElement()