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.ui;
|
10
|
|
11
|
import java.util.EnumSet;
|
12
|
|
13
|
import eu.etaxonomy.cdm.model.reference.ReferenceType;
|
14
|
|
15
|
/**
|
16
|
* @author a.kohlbecker
|
17
|
* @since Jan 12, 2018
|
18
|
*
|
19
|
*/
|
20
|
public class RegistrationUIDefaults {
|
21
|
|
22
|
public static final EnumSet<ReferenceType> PRINTPUB_REFERENCE_TYPES = EnumSet.of(
|
23
|
ReferenceType.Article,
|
24
|
ReferenceType.Book,
|
25
|
ReferenceType.InProceedings,
|
26
|
ReferenceType.Journal,
|
27
|
ReferenceType.PrintSeries,
|
28
|
ReferenceType.Proceedings,
|
29
|
ReferenceType.Section,
|
30
|
ReferenceType.Thesis);
|
31
|
|
32
|
public static final EnumSet<ReferenceType> MEDIA_REFERENCE_TYPES = EnumSet.of(
|
33
|
// same as for print
|
34
|
ReferenceType.Article,
|
35
|
ReferenceType.Book,
|
36
|
ReferenceType.InProceedings,
|
37
|
ReferenceType.Journal,
|
38
|
ReferenceType.PrintSeries,
|
39
|
ReferenceType.Proceedings,
|
40
|
ReferenceType.Section,
|
41
|
ReferenceType.Thesis,
|
42
|
// additional
|
43
|
ReferenceType.WebPage,
|
44
|
ReferenceType.Database,
|
45
|
ReferenceType.CdDvd,
|
46
|
ReferenceType.Report
|
47
|
);
|
48
|
|
49
|
}
|