});
}
public void doConvert(ArrayList list, File outputDir){
BatchConverter converter = new BatchConverter(masterModel);
IJ.showStatus("Conversion started");
for (int i = 0; i < list.size(); i++){
IJ.showStatus("Converting "+i+"/"+list.size());
converter.convertFile(((File)list.get(i)).getAbsolutePath(),outputDir.getAbsolutePath(),
(String)formatCombo.getSelectedItem(),verboseCB.isSelected(),
dirCB.isSelected());
}
IJ.showProgress(1.0);
IJ.showStatus("Conversion done");