boolean allParametersOK = true;
LinkedList<String> errorMessages = new LinkedList<String>();
for (Parameter p : moduleParameters.getParameters()) {
if (p instanceof RawDataFilesParameter) {
RawDataFilesParameter rdp = (RawDataFilesParameter) p;
rdp.setValue(selectedFiles);
boolean checkOK = rdp.checkValue(errorMessages);
if (!checkOK) {
allParametersOK = false;
}
}
if (p instanceof PeakListsParameter) {