Project

General

Profile

Download (1.49 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2017 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.vaadin.view.name;
10

    
11
import org.vaadin.viritin.fields.ElementCollectionField;
12

    
13
import com.vaadin.ui.Component;
14
import com.vaadin.ui.NativeSelect;
15

    
16
import eu.etaxonomy.cdm.vaadin.component.common.GeoLocationField;
17
import eu.etaxonomy.cdm.vaadin.component.common.TeamOrPersonField;
18
import eu.etaxonomy.cdm.vaadin.model.registration.SpecimenTypeDesignationDTO;
19
import eu.etaxonomy.cdm.vaadin.view.AnnotationsEditor;
20
import eu.etaxonomy.vaadin.mvp.ApplicationView;
21

    
22
/**
23
 * @author a.kohlbecker
24
 * @since Jun 13, 2017
25
 *
26
 */
27
public interface SpecimenTypeDesignationWorkingsetPopupEditorView extends ApplicationView<SpecimenTypeDesignationWorkingsetEditorPresenter>,
28
    AnnotationsEditor {
29

    
30
    public NativeSelect getCountrySelectField();
31

    
32
    ElementCollectionField<SpecimenTypeDesignationDTO> getTypeDesignationsCollectionField();
33

    
34
    void applyDefaultComponentStyle(Component ... components);
35

    
36
    /**
37
     *  Disable the delete button if there is only one typeDesignation
38
     *  if this typeDesignation is deleted the fieldUnit would become orphan in the
39
     *  TypeDesignationWorkingSet
40
     */
41
    public void updateAllowDeleteTypeDesignation();
42

    
43
    TeamOrPersonField getCollectorField();
44

    
45
    GeoLocationField getExactLocationField();
46
}
(10-10/15)