Project

General

Profile

« Previous | Next » 

Revision ad6c211a

Added by Andreas Kohlbecker over 2 years ago

ref #6732 rank selector offering compact and full list of ranks

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/name/TaxonNamePopupEditorView.java
13 13
import org.vaadin.viritin.fields.ElementCollectionField;
14 14

  
15 15
import com.vaadin.ui.AbstractField;
16
import com.vaadin.ui.Button;
16 17
import com.vaadin.ui.CheckBox;
17 18
import com.vaadin.ui.Component;
18 19
import com.vaadin.ui.NativeSelect;
......
36 37
 */
37 38
public interface TaxonNamePopupEditorView extends ApplicationView<TaxonNameEditorPresenter>, AnnotationsEditor {
38 39

  
39
    /**
40
     * @return
41
     */
42 40
    public ToOneRelatedEntityCombobox<Reference> getNomReferenceCombobox();
43 41

  
44
    /**
45
     * @return
46
     */
47 42
    public ToManyRelatedEntitiesComboboxSelect<TaxonName> getBasionymComboboxSelect();
48 43

  
49 44
    public NativeSelect getRankSelect();
50 45

  
51
    /**
52
     * @return the exBasionymAuthorshipField
53
     */
46
    public Button getRankSelectFullListToggle();
47

  
54 48
    public TeamOrPersonField getExBasionymAuthorshipField();
55 49

  
56
    /**
57
     * @return the basionymAuthorshipField
58
     */
59 50
    public TeamOrPersonField getBasionymAuthorshipField();
60 51

  
61
    /**
62
     * @return the combinationAuthorshipField
63
     */
64 52
    public TeamOrPersonField getCombinationAuthorshipField();
65 53

  
66
    /**
67
     * @return the exCombinationAuthorshipField
68
     */
69 54
    public TeamOrPersonField getExCombinationAuthorshipField();
70 55

  
71 56
    void disableMode(TaxonNamePopupEditorMode mode);
......
77 62
     */
78 63
    void enableMode(TaxonNamePopupEditorMode mode);
79 64

  
80
    /**
81
     * @param mode
82
     * @return
83
     */
84 65
    boolean isModeEnabled(TaxonNamePopupEditorMode mode);
85 66

  
86 67
    public EnumSet<TaxonNamePopupEditorMode> getModesActive();
87 68

  
88
    /**
89
     * @return
90
     */
91 69
    CheckBox getBasionymToggle();
92 70

  
93 71
    void updateAuthorshipFields();
94 72

  
95
    /**
96
     * @return
97
     */
98 73
    ToManyRelatedEntitiesComboboxSelect<TaxonName> getReplacedSynonymsComboboxSelect();
99 74

  
100
    /**
101
     * @return
102
     */
103 75
    NameRelationField getValidationField();
104 76

  
105
    /**
106
     * @return
107
     */
108 77
    AbstractField<String> getGenusOrUninomialField();
109 78

  
110
    /**
111
     * @return the infraGenericEpithetField
112
     */
113 79
    public AbstractField<String> getInfraGenericEpithetField();
114 80

  
115
    /**
116
     * @return the specificEpithetField
117
     */
118 81
    public AbstractField<String> getSpecificEpithetField();
119 82

  
120
    /**
121
     * @return the infraSpecificEpithetField
122
     */
123 83
    public AbstractField<String> getInfraSpecificEpithetField();
124 84

  
125 85
    public NameRelationField getOrthographicVariantField();
126 86

  
127 87
    CheckBox getOrthographicVariantToggle();
128 88

  
129
    /**
130
     * @return
131
     */
132 89
    TextField getNomenclaturalReferenceDetail();
133 90

  
134 91
    ElementCollectionField<NomenclaturalStatusDTO> getNomStatusCollectionField();
135 92

  
136
    /**
137
     * @param components
138
     */
139 93
    void applyDefaultComponentStyle(Component[] components);
140 94

  
95
    /**
96
     * @return a flag indicating if the rank select should offer the full list of ranks or a compact list
97
     */
98
    public boolean isRanksFullList();
141 99

  
142 100
}

Also available in: Unified diff