public FileType getSelectedType() {
    if (myDetectFileType.isSelected()) return DetectedByContentFileType.INSTANCE;
    return myOpenAsNative.isSelected() ? NativeFileType.INSTANCE : myList.getSelectedValue();
  }
public FileType getSelectedType()