rename FieldObservation -> FieldUnit #3566
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / preference / IPreferenceKeys.java
1 // $Id$
2 /**
3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10
11 package eu.etaxonomy.taxeditor.preference;
12
13 import eu.etaxonomy.cdm.model.common.IDefinedTerm;
14 import eu.etaxonomy.cdm.model.occurrence.FieldUnit;
15
16 /**
17 * <p>IPreferenceKeys interface.</p>
18 *
19 * @author n.hoffmann
20 * @created Jul 12, 2010
21 * @version 1.0
22 */
23 public interface IPreferenceKeys {
24 /**
25 *
26 */
27 public static final String PREFERRED_NOMENCLATURAL_CODE_KEY = "eu.etaxonomy.taxeditor.nomenclaturalCode";
28
29 /**
30 *
31 */
32 public static final String TAXON_SERVICE_CONFIGURATOR_TAXA = "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doTaxa";
33
34 /**
35 *
36 */
37 public static final String TAXON_SERVICE_CONFIGURATOR_SYNONYMS = "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doSynonyms";
38
39 /**
40 *
41 */
42 public static final String TAXON_SERVICE_CONFIGURATOR_NAMES = "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doNamesWithoutTaxa";
43
44 /**
45 *
46 */
47 public static final String TAXON_SERVICE_CONFIGURATOR_COMMON_NAMES = "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doTaxaByCommonNames";
48
49 /**
50 * Whether to show UUID and database id in the supplemental data view.
51 */
52 public static final String SHOW_DEBUG_INFORMATION = "eu.etaxonomy.taxeditor.showDebugInformation";
53
54 /**
55 *
56 */
57 public static final String HIDE_BULKEDITOR_INFO = "eu.etaxonomy.taxeditor.bulkeditorInfo.hide";
58
59 /**
60 *
61 */
62 public static final String EDIT_MARKER_TYPE_PREFIX = "editMarkerType";
63
64 /**
65 *
66 */
67 public static final String MATCH_STRATEGY_PREFIX = "matchStrategy.";
68
69 /**
70 * Access point to the EDIT Map Service that should be used.
71 */
72 public static final String EDIT_MAP_SERVICE_ACCES_POINT = "eu.etaxonomy.taxeditor.editMapServiceAccessPoint";
73
74 /**
75 * Whether the editor should connect to a database immediately after starting.
76 * When editor launches for the first time, it will use the default h2 database.
77 * Subsequent launches will always try to connect to the database it was connected to during
78 * the previous session.
79 */
80 public static final String SHOULD_CONNECT_AT_STARTUP = "eu.etaxonomy.taxeditor.shouldConnectAtStartup";
81
82 /** Constant <code>SHOULD_EXPAND_SECTION_WHEN_DATA_AVAILABLE="eu.etaxonomy.taxeditor.shouldExpandSect"{trunked}</code> */
83 public static final String SHOULD_EXPAND_SECTION_WHEN_DATA_AVAILABLE = "eu.etaxonomy.taxeditor.shouldExpandSectionWhenDataAvailable";
84
85 /** Constant <code>FEATURE_TREE_DEFAULT_TEXT="eu.etaxonomy.taxeditor.featureTree.defa"{trunked}</code> */
86 public static final String FEATURE_TREE_DEFAULT_TEXT = "eu.etaxonomy.taxeditor.featureTree.default.textualData";
87
88 /** Constant <code>FEATURE_TREE_DEFAULT_STRUCTURE="eu.etaxonomy.taxeditor.featureTree.defa"{trunked}</code> */
89 public static final String FEATURE_TREE_DEFAULT_STRUCTURE = "eu.etaxonomy.taxeditor.featureTree.default.structuralData";
90
91 /** Constant <code>SORT_RANKS_HIERARCHICHALLY="eu.etaxonomy.taxeditor.menus.sortRanksH"{trunked}</code> */
92 public static final String SORT_RANKS_HIERARCHICHALLY = "eu.etaxonomy.taxeditor.menus.sortRanksHierarchichally";
93
94 /**
95 * Whether multilanguage text fields should be editable in multiple languages.
96 */
97 public static final String MULTILANGUAGE_TEXT_EDITING_CAPABILITY = "eu.etaxonomy.taxeditor.capability.edit.mulitlanugageText";
98
99 /**
100 * The language to be used for all things multilanguage
101 */
102 public static final String GLOBAL_LANGUAGE_UUID = "eu.etaxonomy.taxeditor.globalLanguage";
103
104 public static final String SHOW_EXPERIMENTAL_FEATURES = "eu.etaxonomy.taxeditor.showExperimentalFeatures";
105
106 public static final String OPENURL_ACCESS_POINT = "eu.etaxonomy.taxeditor.openUrlAccessPoint";
107
108 public static final String OPENURL_IMAGE_MAX_WIDTH = "eu.etaxonomy.taxeditor.openUrlImageMaxWidth";
109
110 public static final String OPENURL_IMAGE_MAX_HEIGHT = "eu.etaxonomy.taxeditor.openUrlImageMaxHeight";
111
112 /**
113 * Whether the occurrence bulk editor should show {@link FieldUnit} objects
114 */
115 public static final String BULK_EDITOR_OCCURRENCE_SHOW_FIELD_UNITS = "eu.etaxonomy.taxeditor.bulkeditor.occurrence.showFieldUnits";
116
117 public static final String SEARCH_OPEN_RESULTS_IN_SEPARATE_WINDOWS = "eu.etaxonomy.taxeditor.navigation.search.openResultInSeparateWindows";
118
119 public static final String ADD_TYPES_TO_ALL_NAMES = "eu.etaxonomy.taxeditor.store.addTypeToAllNames";
120 }