private boolean selectedTypeCanBeModified() {
      FileTypeManagerImpl.FileTypeWithDescriptor ftd = getSelectedFileType();
      if (ftd == null) return false;
      return canBeModified(ftd.fileType());
    }
private boolean selectedTypeCanBeModified()