Project

General

Profile

Download (1.29 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.ListSelect;
15

    
16
import eu.etaxonomy.cdm.vaadin.component.common.TeamOrPersonField;
17
import eu.etaxonomy.cdm.vaadin.model.registration.SpecimenTypeDesignationDTO;
18
import eu.etaxonomy.vaadin.mvp.ApplicationView;
19

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

    
27
    public ListSelect getCountrySelectField();
28

    
29
    ElementCollectionField<SpecimenTypeDesignationDTO> getTypeDesignationsCollectionField();
30

    
31
    void applyDefaultComponentStyle(Component ... components);
32

    
33
    /**
34
     *  Disable the delete button if there is only one typeDesignation
35
     *  if this typeDesignation is deleted the fieldUnit would become orphan in the
36
     *  TypeDesignationWorkingSet
37
     */
38
    public void updateAllowDelete();
39

    
40
    TeamOrPersonField getCollectorField();
41
}
(8-8/13)