Project

General

Profile

Download (2.02 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 com.vaadin.ui.CheckBox;
12
import com.vaadin.ui.ListSelect;
13

    
14
import eu.etaxonomy.cdm.model.name.TaxonName;
15
import eu.etaxonomy.cdm.model.reference.Reference;
16
import eu.etaxonomy.cdm.vaadin.component.common.TeamOrPersonField;
17
import eu.etaxonomy.vaadin.component.ToManyRelatedEntitiesComboboxSelect;
18
import eu.etaxonomy.vaadin.component.ToOneRelatedEntityCombobox;
19
import eu.etaxonomy.vaadin.mvp.ApplicationView;
20

    
21
/**
22
 * @author a.kohlbecker
23
 * @since May 22, 2017
24
 *
25
 */
26
public interface TaxonNamePopupEditorView extends ApplicationView<TaxonNameEditorPresenter> {
27

    
28
    /**
29
     * @return
30
     */
31
    public ToOneRelatedEntityCombobox<Reference> getNomReferenceCombobox();
32

    
33
    /**
34
     * @return
35
     */
36
    public ToManyRelatedEntitiesComboboxSelect<TaxonName> getBasionymComboboxSelect();
37

    
38
    public ListSelect getRankSelect();
39

    
40
    /**
41
     * @return the exBasionymAuthorshipField
42
     */
43
    public TeamOrPersonField getExBasionymAuthorshipField();
44

    
45
    /**
46
     * @return the basionymAuthorshipField
47
     */
48
    public TeamOrPersonField getBasionymAuthorshipField();
49

    
50
    /**
51
     * @return the combinationAuthorshipField
52
     */
53
    public TeamOrPersonField getCombinationAuthorshipField();
54

    
55
    /**
56
     * @return the exCombinationAuthorshipField
57
     */
58
    public TeamOrPersonField getExCombinationAuthorshipField();
59

    
60
    void disableMode(TaxonNamePopupEditorMode mode);
61

    
62
    /**
63
     * Modes must be enabled before calling {@link AbstractPopupEditor#loadInEditor(Object identifier)}.
64
     *
65
     * @param mode
66
     */
67
    void enableMode(TaxonNamePopupEditorMode mode);
68

    
69
    /**
70
     * @param mode
71
     * @return
72
     */
73
    boolean isModeEnabled(TaxonNamePopupEditorMode mode);
74

    
75
    /**
76
     * @return
77
     */
78
    CheckBox getBasionymToggle();
79

    
80
}
(9-9/10)