int rowIndex = 0 ;
String[] outputFiles = this.message.getTargetPath() ;
String[] genIds = this.message.getTargetFormatId() ;
boolean fileNotGenerated = false ;
try {
PlugInInfo analyzer = this.model.getAnalyzer(
this.message.getIdFormat()) ;
Document document = GenerationModel.launchAnalyzer(
analyzer, this.message.getPath()) ;
this.message.setState(GenerationState.GENERATING) ;
this.model.updateMessage(this.message) ;
for(rowIndex=0; rowIndex<genIds.length; ++rowIndex) {
this.message.setState(rowIndex, State.CONVERTING) ;
this.model.updateMessage(this.message) ;
String genId = genIds[rowIndex] ;
PlugInInfo generator = this.model.getGenerator(genId) ;
try {
GenerationModel.launchGenerator(
generator, document, outputFiles[rowIndex]) ;
this.message.setState(rowIndex, State.CONVERTED) ;