Revision a39a62de
Added by Patrick Plitzner almost 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrix.java | ||
---|---|---|
522 | 522 |
IProgressMonitorService progressMonitorService = CdmApplicationState.getCurrentAppConfig().getProgressMonitorService(); |
523 | 523 |
|
524 | 524 |
final Collection<RowWrapperDTO> wrappers = new ArrayList<>(); |
525 |
String jobLabel = "Load character data";
|
|
525 |
String jobLabel = Messages.CharacterMatrix_LOAD_CHARACTER_DATA;
|
|
526 | 526 |
Job job = Job.create(jobLabel, (ICoreRunnable) monitor -> { |
527 | 527 |
monitor.beginTask(jobLabel, IProgressMonitor.UNKNOWN); |
528 | 528 |
while(progressMonitorService.isMonitorThreadRunning(monitorUuid)){ |
... | ... | |
545 | 545 |
if(!rowsWithoutTaxonNode.isEmpty()){ |
546 | 546 |
String collect = rowsWithoutTaxonNode.stream(). |
547 | 547 |
map(row->row.getSpecimenDescription().toString()) |
548 |
.collect(Collectors.joining("\n\n - ")); |
|
549 |
MessagingUtils.errorDialog("Descriptions without node found", this.getClass(), "Description(s) without taxon node:\n\n - "+collect+"\n\n", TaxeditorEditorPlugin.PLUGIN_ID, null, false);
|
|
548 |
.collect(Collectors.joining("\n\n - ")); //$NON-NLS-1$
|
|
549 |
MessagingUtils.errorDialog(Messages.CharacterMatrix_NO_NODE_FOUND_TITLE, this.getClass(), Messages.CharacterMatrix_NO_NODE_FOUND_MESSAGE+collect+"\n\n", TaxeditorEditorPlugin.PLUGIN_ID, null, false); //$NON-NLS-3$
|
|
550 | 550 |
} |
551 | 551 |
wrappers.stream().filter(row->row.getTaxonNode()!=null).forEach(wrapper->CharacterMatrix.this.descriptions.add(wrapper)); |
552 | 552 |
loadingDone(); |
Also available in: Unified diff
i18n