Project

General

Profile

Download (1.18 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.model.registration.SpecimenTypeDesignationDTO;
17
import eu.etaxonomy.vaadin.mvp.ApplicationView;
18

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

    
26
    public ListSelect getCountrySelectField();
27

    
28
    ElementCollectionField<SpecimenTypeDesignationDTO> getTypeDesignationsCollectionField();
29

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

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