Ejemplo n.º 1
0
  public MageTabDocumentSet selectRefFiles(Project project, CaArrayFileSet idfFileSet) {
    MageTabDocumentSet documentSet = null;
    final MageTabFileSet inputSet = getInputFileSet(project, idfFileSet);
    try {

      documentSet = MageTabParser.INSTANCE.parseDataFileNames(inputSet);
      handleSelectRefFilesResult(idfFileSet, this.translator.validate(documentSet, idfFileSet));
    } catch (final MageTabParsingException e) {
      updateFileStatus(idfFileSet, FileStatus.VALIDATION_ERRORS);
    } catch (final InvalidDataException e) {
      handleResult(idfFileSet, e.getValidationResult());
    }

    return documentSet;
  }