1
|
/**
|
2
|
* Copyright (C) 2007 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
|
|
10
|
package eu.etaxonomy.taxeditor.preference;
|
11
|
|
12
|
import eu.etaxonomy.cdm.model.occurrence.FieldUnit;
|
13
|
import eu.etaxonomy.taxeditor.store.CdmStore;
|
14
|
|
15
|
/**
|
16
|
* <p>IPreferenceKeys interface.</p>
|
17
|
*
|
18
|
* @author n.hoffmann
|
19
|
* @created Jul 12, 2010
|
20
|
* @version 1.0
|
21
|
*/
|
22
|
public interface IPreferenceKeys {
|
23
|
/**
|
24
|
*
|
25
|
*/
|
26
|
//public static final String PREFERRED_NOMENCLATURAL_CODE_KEY = "eu.etaxonomy.taxeditor.nomenclaturalCode";
|
27
|
|
28
|
/**
|
29
|
* TaxonSearch Configurator
|
30
|
*/
|
31
|
public static final String TAXON_SERVICE_CONFIGURATOR_TAXA = "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doTaxa";
|
32
|
|
33
|
public static final String TAXON_SERVICE_CONFIGURATOR_SYNONYMS = "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doSynonyms";
|
34
|
|
35
|
public static final String TAXON_SERVICE_CONFIGURATOR_NAMES = "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doNamesWithoutTaxa";
|
36
|
|
37
|
public static final String TAXON_SERVICE_CONFIGURATOR_COMMON_NAMES = "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doTaxaByCommonNames";
|
38
|
|
39
|
public static final String TAXON_SERVICE_CONFIGURATOR_MATCH_MODE = "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doSearchByMatchMode";
|
40
|
|
41
|
public static final String TAXON_SERVICE_CONFIGURATOR_UNPUBLISHED = "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doUnpublishedTaxa";
|
42
|
|
43
|
public static final String TAXON_SERVICE_CONFIGURATOR_WITH_AUTHORS = "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doWithAuthors";
|
44
|
/**
|
45
|
* Whether to show UUID and database id in the supplemental data view.
|
46
|
*/
|
47
|
public static final String SHOW_DEBUG_INFORMATION = "eu.etaxonomy.taxeditor.showDebugInformation";
|
48
|
|
49
|
/**
|
50
|
* Whether to show database id in the entity selection dialogs.
|
51
|
*/
|
52
|
//public static final String SHOW_ID_IN_ENTITY_SELECTION_DIAOLOG = "eu.etaxonomy.taxeditor.showIdInEntitySelectionDiaolog";
|
53
|
|
54
|
/**
|
55
|
* Whether to show vocabulary of the term when displaying it's label.
|
56
|
*/
|
57
|
public static final String SHOW_VOCABULARY_ID_FOR_TERM_LABELS = "eu.etaxonomy.taxeditor.showVocabularyIdForTermLabels";
|
58
|
/**
|
59
|
* Whether to show vocabulary of the term when displaying it's label.
|
60
|
*/
|
61
|
public static final String SHOW_VOCABULARY_ID_FOR_TERM_LABELS_IN_TREE_EDITOR = "eu.etaxonomy.taxeditor.showVocabularyIdForTermLabelsInTreeEditor";
|
62
|
|
63
|
/**
|
64
|
*
|
65
|
*/
|
66
|
public static final String HIDE_BULKEDITOR_INFO = "eu.etaxonomy.taxeditor.bulkeditorInfo.hide";
|
67
|
|
68
|
/**
|
69
|
*
|
70
|
*/
|
71
|
public static final String EDIT_MARKER_TYPE_PREFIX = "editMarkerType";
|
72
|
|
73
|
/**
|
74
|
*
|
75
|
*/
|
76
|
public static final String MATCH_STRATEGY_PREFIX = "matchStrategy.";
|
77
|
|
78
|
|
79
|
|
80
|
/**
|
81
|
* Whether the editor should connect to a database immediately after starting.
|
82
|
* When editor launches for the first time, it will use the default h2 database.
|
83
|
* Subsequent launches will always try to connect to the database it was connected to during
|
84
|
* the previous session.
|
85
|
*/
|
86
|
public static final String SHOULD_CONNECT_AT_STARTUP = "eu.etaxonomy.taxeditor.shouldConnectAtStartup";
|
87
|
|
88
|
/** Constant <code>SHOULD_EXPAND_SECTION_WHEN_DATA_AVAILABLE="eu.etaxonomy.taxeditor.shouldExpandSect"{trunked}</code> */
|
89
|
public static final String SHOULD_EXPAND_SECTION_WHEN_DATA_AVAILABLE = "eu.etaxonomy.taxeditor.shouldExpandSectionWhenDataAvailable";
|
90
|
|
91
|
/** Constant <code>FEATURE_TREE_DEFAULT_TEXT="eu.etaxonomy.taxeditor.featureTree.defa"{trunked}</code> */
|
92
|
public static final String FEATURE_TREE_DEFAULT_TEXT = "eu.etaxonomy.taxeditor.featureTree.default.textualData";
|
93
|
|
94
|
/** Constant <code>FEATURE_TREE_DEFAULT_STRUCTURE="eu.etaxonomy.taxeditor.featureTree.defa"{trunked}</code> */
|
95
|
public static final String FEATURE_TREE_DEFAULT_STRUCTURE = "eu.etaxonomy.taxeditor.featureTree.default.structuralData";
|
96
|
|
97
|
|
98
|
|
99
|
/** Constant <code>RESTORE_NAVIGATOR_STATE="eu.etaxonomy.taxeditor.taxonnavigator.restoreState"{trunked}</code> */
|
100
|
public static final String RESTORE_NAVIGATOR_STATE = "eu.etaxonomy.taxeditor.taxonnavigator.restoreState";
|
101
|
|
102
|
|
103
|
/**
|
104
|
* The language to be used for all things multilanguage
|
105
|
*/
|
106
|
public static final String GLOBAL_LANGUAGE_UUID = "eu.etaxonomy.taxeditor.globalLanguage";
|
107
|
|
108
|
public static final String SHOW_EXPERIMENTAL_FEATURES = "eu.etaxonomy.taxeditor.showExperimentalFeatures";
|
109
|
|
110
|
/**
|
111
|
* Whether the occurrence bulk editor should show {@link FieldUnit} objects
|
112
|
*/
|
113
|
public static final String BULK_EDITOR_OCCURRENCE_SHOW_FIELD_UNITS = "eu.etaxonomy.taxeditor.bulkeditor.occurrence.showFieldUnits";
|
114
|
public static final String SEARCH_OPEN_RESULTS_IN_SEPARATE_WINDOWS = "eu.etaxonomy.taxeditor.navigation.search.openResultInSeparateWindows";
|
115
|
public static final String DISABLE_SERVICES_API_TIMESTAMP_CHECK = "eu.etaxonomy.taxeditor.cdmlib.remoting.disableServicesApiTimestampCheck";
|
116
|
public static final String ADD_TYPES_TO_ALL_NAMES = "eu.etaxonomy.taxeditor.store.addTypeToAllNames";
|
117
|
|
118
|
|
119
|
|
120
|
|
121
|
public static final String PROMPT_FOR_OPEN_SPECIMEN_IN_EDITOR = "eu.etaxonomy.taxeditor.specimen.promptForOpenSpecimenInEditor";
|
122
|
|
123
|
public static final String DEFAULT_LANGUAGE_EDITOR = "eu.etaxonomy.taxeditor.default.language";
|
124
|
|
125
|
public static final String IS_SHOW_UP_WIDGET_IS_DISPOSED = "eu.etaxonomy.taxeditor.isShowUpWidgetIsDisposed";
|
126
|
|
127
|
/**
|
128
|
* Key for the saved P2 repositories
|
129
|
*/
|
130
|
public static final String P2_REPOSITORY_LIST = "eu.etaxonomy.taxeditor.p2.repositories";
|
131
|
|
132
|
public static final String ALLOW_OVERRIDE_RL = "eu.etaxonomy.taxeditor.isRL.allow_override";
|
133
|
|
134
|
|
135
|
public static final String SHOW_ADVANCED_MEDIA_SECTION = "eu.etaxonomy.taxeditor.media.showAdvancedMedia" + CdmStore.getActiveCdmSource().getName();
|
136
|
public static final String SHOW_MEDIA_PREVIEW = "eu.etaxonomy.taxeditor.media.showMediaPreview"+ CdmStore.getActiveCdmSource().getName();
|
137
|
|
138
|
public static final String LAST_SELECTED_REFERENCES = "eu.etaxonomy.taxeditor.references.selection.lastSelected";
|
139
|
public static final String LAST_USED_ABCD_CONFIG = "eu.etaxonomy.taxeditor.io.abcd.lastUsedConfig";
|
140
|
public static final String LAST_USED_BIOCASE_PROVIDER = "eu.etaxonomy.taxeditor.io.abcd.lastUsedBiocaseProvider";
|
141
|
}
|