Project

General

Profile

Revision b3fb4578

IDb3fb4578644f2c59aa170518c94f8464612c8590
Parent a186543e
Child fcbac3e6

Added by Katja Luther almost 2 years ago

adapt editor to change getFieldUnitForGatheringEvent to findFieldUnitForGatheringEvent

View differences:

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

Add picture from clipboard (Maximum size: 40 MB)