Project

General

Profile

« Previous | Next » 

Revision f5979052

Added by Katja Luther over 6 years ago

fix multiple representation by removing conversation of selection dialog

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/FieldUnitGeneralDetailElement.java
74 74

  
75 75
        combo_specorobstype = formFactory.createEnumComboElement(SpecimenOrObservationType.class, formElement, style);
76 76
        combo_specorobstype.setSelection(entity.getType());
77
        selection_country = formFactory.createSelectionElement(NamedArea.class, getConversationHolder(), formElement,
78
                "Country", entity.getCountry(), EntitySelectionElement.NOTHING, style);
77
        selection_country = formFactory.createSelectionElement(NamedArea.class, //getConversationHolder(),
78
                formElement, "Country", entity.getCountry(), EntitySelectionElement.NOTHING, style);
79 79
        if(PreferencesUtil.isCollectingAreaInGeneralSection()){
80 80
            section_collectingAreas = formFactory.createCollectingAreasDetailSection(getConversationHolder(), formElement, ExpandableComposite.TWISTIE);
81 81
            section_collectingAreas.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
......
89 89
				formElement, "Elevation : ", entity, MinMaxTextSection.UnitType.ELEVATION,  style);
90 90

  
91 91
        element_date = formFactory.createTimePeriodElement(formElement, "Date", entity.getGatheringPeriod(), style);
92
        selection_collector = formFactory.createSelectionElement(AgentBase.class, getConversationHolder(), formElement,
93
                "Collector", entity.getCollector(), EntitySelectionElement.ALL, style);
92
        selection_collector = formFactory.createSelectionElement(AgentBase.class, //getConversationHolder(),
93
                formElement, "Collector", entity.getCollector(), EntitySelectionElement.ALL, style);
94 94
        text_collectingNumber = formFactory.createTextWithLabelElement(formElement, "Collecting number",
95 95
                entity.getFieldNumber(), style);
96 96
        checkIsPublish = formFactory.createCheckbox(formElement, "Publish", entity.isPublish(), style);

Also available in: Unified diff