2 * Copyright (C) 2018 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
.ui
;
11 import java
.util
.EnumSet
;
13 import eu
.etaxonomy
.cdm
.model
.name
.NomenclaturalCode
;
14 import eu
.etaxonomy
.cdm
.model
.reference
.ReferenceType
;
17 * @author a.kohlbecker
21 public class RegistrationUIDefaults
{
23 public static final EnumSet
<ReferenceType
> PRINTPUB_REFERENCE_TYPES
= EnumSet
.of(
24 ReferenceType
.Article
,
26 ReferenceType
.InProceedings
,
27 ReferenceType
.Journal
,
28 ReferenceType
.PrintSeries
,
29 ReferenceType
.Proceedings
,
30 ReferenceType
.Section
,
31 ReferenceType
.Thesis
);
33 public static final EnumSet
<ReferenceType
> MEDIA_REFERENCE_TYPES
= EnumSet
.of(
35 ReferenceType
.Article
,
37 ReferenceType
.InProceedings
,
38 ReferenceType
.Journal
,
39 ReferenceType
.PrintSeries
,
40 ReferenceType
.Proceedings
,
41 ReferenceType
.Section
,
44 ReferenceType
.WebPage
,
45 ReferenceType
.Database
,
51 * TODO make configurable as preset and in TaxonNameEditor
53 public static final NomenclaturalCode NOMENCLATURAL_CODE
= NomenclaturalCode
.ICNAFP
;
55 public static final String ERROR_CONTACT_MESSAGE_LINE
= "Please contact <a href=\"mailto:editsupport@bgbm.org\">editsupport@bgbm.org</a> for support and more information.";