Project

General

Profile

« Previous | Next » 

Revision 3cbd91d4

Added by Katja Luther over 2 years ago

fix #9857: collector field should show collector title

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/SelectionDialogFactory.java
55 55
import eu.etaxonomy.taxeditor.ui.section.group.MemberDetailElement;
56 56
import eu.etaxonomy.taxeditor.ui.section.group.MemberDetailSection;
57 57
import eu.etaxonomy.taxeditor.ui.section.name.AuthorshipDetailElement;
58
import eu.etaxonomy.taxeditor.ui.section.occurrence.DerivedUnitGeneralDetailElement;
58 59
import eu.etaxonomy.taxeditor.ui.section.occurrence.FieldUnitFacadeGeneralDetailElement;
59 60
import eu.etaxonomy.taxeditor.ui.section.reference.NomenclaturalReferenceDetailElement;
60 61
import eu.etaxonomy.taxeditor.ui.section.reference.ReferenceDetailElement;
......
117 118
		if(clazz.equals(TeamOrPersonBase.class) && parentElement instanceof AuthorshipDetailElement){
118 119
            return (T) NomenclaturalAuthorSelectionDialog.select(shell,
119 120
                    (TeamOrPersonBase) currentSelection, false);
120
        }else if(clazz.equals(AgentBase.class) && parentElement instanceof FieldUnitFacadeGeneralDetailElement){
121
        }else if(clazz.equals(AgentBase.class) && (parentElement instanceof FieldUnitFacadeGeneralDetailElement || parentElement instanceof DerivedUnitGeneralDetailElement)){
121 122
		    return (T) CollectorSelectionDialog.select(shell,
122 123
		            (TeamOrPersonBase) currentSelection, false);
123 124
		}else if(clazz.equals(TeamOrPersonBase.class)){

Also available in: Unified diff