1
|
/**
|
2
|
* Copyright (C) 2018 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
|
/**
|
12
|
* @author a.kohlbecker
|
13
|
* @since Jan 11, 2018
|
14
|
*
|
15
|
*/
|
16
|
public enum TaxonNamePopupEditorMode {
|
17
|
|
18
|
/**
|
19
|
* CombinationAuthorship BasionymAuthorship fields only visible if
|
20
|
* not empty
|
21
|
*/
|
22
|
AUTOFILL_AUTHORSHIP_DATA,
|
23
|
|
24
|
/**
|
25
|
* Editing of the nomenclatural reference is limited to editing the sub section of the
|
26
|
* reference. Once the nomenclatural reference is set to a journal or book the user only can
|
27
|
* change it to a reference of type {@link eu.etaxonomy.cdm.model.reference.ReferenceType.#Section Section} which
|
28
|
* has the current reference as <code>inReference</code>. Whereas the book or journal can not be modified, the
|
29
|
* section can be edited via a ReferencePopupEditor.
|
30
|
*
|
31
|
*/
|
32
|
NOMENCLATURALREFERENCE_SECTION_EDITING_ONLY,
|
33
|
|
34
|
/**
|
35
|
* setting the nomenclatural reference is required with the exception
|
36
|
* that existing data is considered complete if the combination
|
37
|
* authors are set.
|
38
|
*/
|
39
|
REQUIRE_NOMENCLATURALREFERENCE
|
40
|
|
41
|
}
|