dialog.open();
Object[] files = dialog.getResult();
if (files != null && files.length > 0) {
for (int i = 0; i < files.length; i++) {
FileAndShortName fsn = new FileAndShortName(files[i]);
updateTopDescriptor(fsn.fileName, !dialog.isImportByName);
}
}
}
});