Project

General

Profile

« Previous | Next » 

Revision 46418777

Added by Andreas Müller over 3 years ago

ref #8547 make ReferenceType.inReferenceContraints() a list (adapt vaadin)

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/reference/ReferenceEditorPresenter.java
12 12
import java.util.Arrays;
13 13
import java.util.EnumSet;
14 14
import java.util.List;
15
import java.util.Set;
16 15
import java.util.UUID;
17 16

  
18 17
import org.apache.log4j.Logger;
......
212 211
       }
213 212

  
214 213
       if(ToOneRelatedEntityField.class.isAssignableFrom(editorAction.getTarget().getClass())){
215
           Set<ReferenceType> applicableTypes = ReferenceType.inReferenceContraints((ReferenceType) getView().getTypeSelect().getValue());
214
           List<ReferenceType> applicableTypes = ReferenceType.inReferenceContraints((ReferenceType) getView().getTypeSelect().getValue());
216 215
           if(editorAction.isAddAction()){
217 216
               inReferencePopup = openPopupEditor(ReferencePopupEditor.class, editorAction);
218 217
               if(!applicableTypes.isEmpty()){

Also available in: Unified diff