2 * Copyright (C) 2017 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.cdm
.vaadin
.view
.name
;
11 import org
.vaadin
.viritin
.fields
.ElementCollectionField
;
13 import com
.vaadin
.ui
.Component
;
14 import com
.vaadin
.ui
.ListSelect
;
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
;
21 * @author a.kohlbecker
25 public interface SpecimenTypeDesignationWorkingsetPopupEditorView
extends ApplicationView
<SpecimenTypeDesignationWorkingsetEditorPresenter
> {
27 public ListSelect
getCountrySelectField();
29 ElementCollectionField
<SpecimenTypeDesignationDTO
> getTypeDesignationsCollectionField();
31 void applyDefaultComponentStyle(Component
... components
);
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
38 public void updateAllowDelete();
40 TeamOrPersonField
getCollectorField();