Project

General

Profile

« Previous | Next » 

Revision 9e57a9b3

Added by Andreas Kohlbecker over 5 years ago

fix #7218 GeoLocationField: reference system select fully functional

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/name/SpecimenTypeDesignationWorkingsetPopupEditor.java
82 82

  
83 83
    private AnnotationType[] editableAnotationTypes = RegistrationUIDefaults.EDITABLE_ANOTATION_TYPES;
84 84

  
85
    private GeoLocationField exactLocationField;
86

  
85 87
    /**
86 88
     * @return the countrySelectField
87 89
     */
......
123 125
        //        see https://github.com/vaadin/framework/issues/3617
124 126

  
125 127
        row++;
126
        GeoLocationField exactLocation = new GeoLocationField("Geo location");
127
        addField(exactLocation, "exactLocation", 0, row, 2, row);
128
        exactLocation.setWidth("100%");
128
        exactLocationField = new GeoLocationField("Geo location");
129
        addField(exactLocationField, "exactLocation", 0, row, 2, row);
130
        exactLocationField.setWidth("100%");
129 131

  
130 132
        row++;
131 133
        MinMaxTextField absElevationMinMax = new MinMaxTextField("Altitude", "m");
......
378 380
        return annotationsListField;
379 381
    }
380 382

  
383
    @Override
384
    public GeoLocationField getExactLocationField() {
385
        return exactLocationField;
386
    }
387

  
381 388

  
382 389

  
383 390
}

Also available in: Unified diff