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.ListSelect;
|
12
|
|
13
|
import eu.etaxonomy.cdm.model.name.TaxonName;
|
14
|
import eu.etaxonomy.cdm.model.reference.Reference;
|
15
|
import eu.etaxonomy.cdm.vaadin.component.common.TeamOrPersonField;
|
16
|
import eu.etaxonomy.vaadin.component.ToManyRelatedEntitiesComboboxSelect;
|
17
|
import eu.etaxonomy.vaadin.component.ToOneRelatedEntityCombobox;
|
18
|
import eu.etaxonomy.vaadin.mvp.ApplicationView;
|
19
|
|
20
|
/**
|
21
|
* @author a.kohlbecker
|
22
|
* @since May 22, 2017
|
23
|
*
|
24
|
*/
|
25
|
public interface TaxonNamePopupEditorView extends ApplicationView<TaxonNameEditorPresenter> {
|
26
|
|
27
|
/**
|
28
|
* @return
|
29
|
*/
|
30
|
public ToOneRelatedEntityCombobox<Reference> getNomReferenceCombobox();
|
31
|
|
32
|
/**
|
33
|
* @return
|
34
|
*/
|
35
|
public ToManyRelatedEntitiesComboboxSelect<TaxonName> getBasionymCombobox();
|
36
|
|
37
|
public ListSelect getRankSelect();
|
38
|
|
39
|
/**
|
40
|
* @return the exBasionymAuthorshipField
|
41
|
*/
|
42
|
public TeamOrPersonField getExBasionymAuthorshipField();
|
43
|
|
44
|
/**
|
45
|
* @return the basionymAuthorshipField
|
46
|
*/
|
47
|
public TeamOrPersonField getBasionymAuthorshipField();
|
48
|
|
49
|
/**
|
50
|
* @return the combinationAuthorshipField
|
51
|
*/
|
52
|
public TeamOrPersonField getCombinationAuthorshipField();
|
53
|
|
54
|
/**
|
55
|
* @return the exCombinationAuthorshipField
|
56
|
*/
|
57
|
public TeamOrPersonField getExCombinationAuthorshipField();
|
58
|
|
59
|
void disableMode(TaxonNamePopupEditorMode mode);
|
60
|
|
61
|
/**
|
62
|
* Modes must be enabled before calling {@link AbstractPopupEditor#loadInEditor(Object identifier)}.
|
63
|
*
|
64
|
* @param mode
|
65
|
*/
|
66
|
void enableMode(TaxonNamePopupEditorMode mode);
|
67
|
|
68
|
/**
|
69
|
* @param mode
|
70
|
* @return
|
71
|
*/
|
72
|
boolean isModeEnabled(TaxonNamePopupEditorMode mode);
|
73
|
|
74
|
}
|