Revision 0aa1233b
Added by Andreas Kohlbecker almost 5 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/name/SpecimenTypeDesignationWorkingsetEditorPresenter.java | ||
---|---|---|
284 | 284 |
* @return |
285 | 285 |
*/ |
286 | 286 |
private void addTypeDesignation(SpecimenTypeDesignationDTO element) { |
287 |
getView().updateAllowDelete(); |
|
287 |
getView().updateAllowDeleteTypeDesignation();
|
|
288 | 288 |
} |
289 | 289 |
|
290 | 290 |
|
... | ... | |
304 | 304 |
|
305 | 305 |
reg.getTypeDesignations().remove(std); |
306 | 306 |
|
307 |
getView().updateAllowDelete(); |
|
307 |
getView().updateAllowDeleteTypeDesignation();
|
|
308 | 308 |
} |
309 | 309 |
|
310 | 310 |
/** |
... | ... | |
369 | 369 |
SpecimenTypeDesignationDTORow row = collectionPopupEditorsRowMap.get(event.getSourceView()); |
370 | 370 |
ToOneRelatedEntityCombobox<Collection> combobox = row.getComponent(ToOneRelatedEntityCombobox.class, 3); |
371 | 371 |
combobox.setValue((Collection) event.getEntity()); |
372 |
} |
|
373 |
for( CollectionRowItemCollection row : popuEditorTypeDesignationSourceRows) { |
|
374 |
ToOneRelatedEntityCombobox<Collection> combobox = row.getComponent(ToOneRelatedEntityCombobox.class, 3); |
|
375 |
combobox.reload(); |
|
372 |
} else { |
|
373 |
for( CollectionRowItemCollection row : popuEditorTypeDesignationSourceRows) { |
|
374 |
ToOneRelatedEntityCombobox<Collection> combobox = row.getComponent(ToOneRelatedEntityCombobox.class, 3); |
|
375 |
combobox.reload(); |
|
376 |
} |
|
376 | 377 |
} |
377 | 378 |
} |
378 | 379 |
} |
... | ... | |
413 | 414 |
SpecimenTypeDesignationDTORow row = referencePopupEditorsRowMap.get(event.getSourceView()); |
414 | 415 |
ToOneRelatedEntityCombobox<Reference> combobox = row.getComponent(ToOneRelatedEntityCombobox.class, 7); |
415 | 416 |
combobox.setValue((Reference) event.getEntity()); |
416 |
|
|
417 | 417 |
} else { |
418 | 418 |
for( CollectionRowItemCollection row : popuEditorTypeDesignationSourceRows) { |
419 | 419 |
ToOneRelatedEntityCombobox<Reference> combobox = row.getComponent(ToOneRelatedEntityCombobox.class, 7); |
420 | 420 |
combobox.reload(); |
421 | 421 |
} |
422 | 422 |
} |
423 |
|
|
423 | 424 |
} |
424 | 425 |
|
425 | 426 |
/** |
Also available in: Unified diff
fix #8193 ElementCollectionField to edit nomenclatural status in TaxonNamePopupEditor