Revision b3fb4578
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/handler/OpenDerivativeEditorForGatheringEvent.java | ||
---|---|---|
34 | 34 |
@Override |
35 | 35 |
protected void open(GatheringEvent entity, Shell shell, EPartService partService) { |
36 | 36 |
Collection<UUID> specimenUuids = new ArrayList<UUID>(); |
37 |
List<FieldUnit> fieldUnits = CdmStore.getService(IOccurrenceService.class).getFieldUnitsForGatheringEvent(entity.getUuid());
|
|
37 |
List<FieldUnit> fieldUnits = CdmStore.getService(IOccurrenceService.class).findFieldUnitsForGatheringEvent(entity.getUuid());
|
|
38 | 38 |
fieldUnits.forEach(fieldUnit->specimenUuids.add(fieldUnit.getUuid())); |
39 | 39 |
DerivateViewEditorInput input = new DerivateViewEditorInput(specimenUuids); |
40 | 40 |
EditorUtil.openSpecimenEditor(input, modelService, partService, application); |
Also available in: Unified diff
adapt editor to change getFieldUnitForGatheringEvent to findFieldUnitForGatheringEvent