2 * Copyright (C) 2007 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.
10 package eu
.etaxonomy
.taxeditor
.preference
;
12 import eu
.etaxonomy
.cdm
.model
.occurrence
.FieldUnit
;
15 * <p>IPreferenceKeys interface.</p>
18 * @created Jul 12, 2010
21 public interface IPreferenceKeys
{
25 public static final String PREFERRED_NOMENCLATURAL_CODE_KEY
= "eu.etaxonomy.taxeditor.nomenclaturalCode";
26 public static final String OVERRIDE_NOMENCLATURAL_CODE_KEY
= "eu.etaxonomy.taxeditor.nomenclaturalCode.override";
27 public static final String ALLOW_OVERRIDE_NOMENCLATURAL_CODE_KEY
= "eu.etaxonomy.taxeditor.nomenclaturalCode.allow_override";
28 public static final String CDM_NOMENCLATURAL_CODE_KEY
= "eu.etaxonomy.taxeditor.cdm.nomenclaturalCode";
32 public static final String TAXON_SERVICE_CONFIGURATOR_TAXA
= "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doTaxa";
37 public static final String TAXON_SERVICE_CONFIGURATOR_SYNONYMS
= "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doSynonyms";
42 public static final String TAXON_SERVICE_CONFIGURATOR_NAMES
= "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doNamesWithoutTaxa";
47 public static final String TAXON_SERVICE_CONFIGURATOR_COMMON_NAMES
= "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doTaxaByCommonNames";
52 public static final String TAXON_SERVICE_CONFIGURATOR_MATCH_MODE
= "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doSearchByMatchMode";
55 * Whether to show UUID and database id in the supplemental data view.
57 public static final String SHOW_DEBUG_INFORMATION
= "eu.etaxonomy.taxeditor.showDebugInformation";
60 * Whether to show database id in the entity selection dialogs.
62 public static final String SHOW_ID_IN_ENTITY_SELECTION_DIAOLOG
= "eu.etaxonomy.taxeditor.showIdInEntitySelectionDiaolog";
65 * Whether to show vocabulary of the term when displaying it's label.
67 public static final String SHOW_VOCABULARY_ID_FOR_TERM_LABELS
= "eu.etaxonomy.taxeditor.showVocabularyIdForTermLabels";
72 public static final String HIDE_BULKEDITOR_INFO
= "eu.etaxonomy.taxeditor.bulkeditorInfo.hide";
77 public static final String EDIT_MARKER_TYPE_PREFIX
= "editMarkerType";
82 public static final String MATCH_STRATEGY_PREFIX
= "matchStrategy.";
85 * Access point to the EDIT Map Service that should be used.
87 public static final String EDIT_MAP_SERVICE_ACCES_POINT
= "eu.etaxonomy.taxeditor.editMapServiceAccessPoint";
90 * Whether the editor should connect to a database immediately after starting.
91 * When editor launches for the first time, it will use the default h2 database.
92 * Subsequent launches will always try to connect to the database it was connected to during
93 * the previous session.
95 public static final String SHOULD_CONNECT_AT_STARTUP
= "eu.etaxonomy.taxeditor.shouldConnectAtStartup";
97 /** Constant <code>SHOULD_EXPAND_SECTION_WHEN_DATA_AVAILABLE="eu.etaxonomy.taxeditor.shouldExpandSect"{trunked}</code> */
98 public static final String SHOULD_EXPAND_SECTION_WHEN_DATA_AVAILABLE
= "eu.etaxonomy.taxeditor.shouldExpandSectionWhenDataAvailable";
100 /** Constant <code>FEATURE_TREE_DEFAULT_TEXT="eu.etaxonomy.taxeditor.featureTree.defa"{trunked}</code> */
101 public static final String FEATURE_TREE_DEFAULT_TEXT
= "eu.etaxonomy.taxeditor.featureTree.default.textualData";
103 /** Constant <code>FEATURE_TREE_DEFAULT_STRUCTURE="eu.etaxonomy.taxeditor.featureTree.defa"{trunked}</code> */
104 public static final String FEATURE_TREE_DEFAULT_STRUCTURE
= "eu.etaxonomy.taxeditor.featureTree.default.structuralData";
106 /** Constant <code>SORT_RANKS_HIERARCHICHALLY="eu.etaxonomy.taxeditor.menus.sortRanksH"{trunked}</code> */
107 public static final String SORT_RANKS_HIERARCHICHALLY
= "eu.etaxonomy.taxeditor.menus.sortRanksHierarchichally";
108 /** Constant <code>SORT_NODES_NATURALL="eu.etaxonomy.taxeditor.menus.sortNodesN"{trunked}</code> */
109 public static final String SORT_NODES_NATURALLY
= "eu.etaxonomy.taxeditor.menus.sortNodesNaturally";
110 /** Constant <code>SORT_NODES_NATURALL="eu.etaxonomy.taxeditor.menus.sortNodesN"{trunked}</code> */
111 public static final String SORT_NODES_ALPHABETICALLY
= "eu.etaxonomy.taxeditor.menus.sortNodesAlphabetically";
112 /** Constant <code>RESTORE_NAVIGATOR_STATE="eu.etaxonomy.taxeditor.taxonnavigator.restoreState"{trunked}</code> */
113 public static final String RESTORE_NAVIGATOR_STATE
= "eu.etaxonomy.taxeditor.taxonnavigator.restoreState";
115 * Whether multilanguage text fields should be editable in multiple languages.
117 public static final String MULTILANGUAGE_TEXT_EDITING_CAPABILITY
= "eu.etaxonomy.taxeditor.capability.edit.mulitlanugageText";
120 * The language to be used for all things multilanguage
122 public static final String GLOBAL_LANGUAGE_UUID
= "eu.etaxonomy.taxeditor.globalLanguage";
124 public static final String SHOW_EXPERIMENTAL_FEATURES
= "eu.etaxonomy.taxeditor.showExperimentalFeatures";
126 public static final String OPENURL_ACCESS_POINT
= "eu.etaxonomy.taxeditor.openUrlAccessPoint";
128 public static final String OPENURL_IMAGE_MAX_WIDTH
= "eu.etaxonomy.taxeditor.openUrlImageMaxWidth";
130 public static final String OPENURL_IMAGE_MAX_HEIGHT
= "eu.etaxonomy.taxeditor.openUrlImageMaxHeight";
133 * Whether the occurrence bulk editor should show {@link FieldUnit} objects
135 public static final String BULK_EDITOR_OCCURRENCE_SHOW_FIELD_UNITS
= "eu.etaxonomy.taxeditor.bulkeditor.occurrence.showFieldUnits";
137 public static final String SEARCH_OPEN_RESULTS_IN_SEPARATE_WINDOWS
= "eu.etaxonomy.taxeditor.navigation.search.openResultInSeparateWindows";
139 public static final String DISABLE_SERVICES_API_TIMESTAMP_CHECK
= "eu.etaxonomy.taxeditor.cdmlib.remoting.disableServicesApiTimestampCheck";
141 public static final String ADD_TYPES_TO_ALL_NAMES
= "eu.etaxonomy.taxeditor.store.addTypeToAllNames";
143 public static final String DETERMINATION_ONLY_FOR_FIELD_UNITS
= "eu.etaxonomy.taxeditor.specimen.determinationOnlyOnFieldUnitLevel";
145 public static final String SHOW_COLLECTING_AREAS_IN_GENERAL_SECTION
= "eu.etaxonomy.taxeditor.specimen.showCollectingAreasInGeneralSection";
147 public static final String SHOW_TAXON_ASSOCIATIONS
= "eu.etaxonomy.taxeditor.specimen.showTaxonAssociations";
149 public static final String DISTRIBUTION_AREA_PREFRENCES_ACTIVE
= "eu.etaxonomy.taxeditor.checklist.distributionAreaPreferencesActive";
151 public static final String DISTRIBUTION_AREA_OCCURENCE_STATUS
= "eu.etaxonomy.taxeditor.checklist.distributionAreaStatus";
153 public static final String DISTRIBUTION_AREA_OCCURENCE_STATUS_GRAYED
= "eu.etaxonomy.taxeditor.checklist.distributionAreaStatusGrayed";
155 public static final String CHECKLIST_ID_IN_VOCABULARY
= "eu.etaxonomy.taxeditor.checklist.checklistIdInVocabulary";
156 public static final String CHECKLIST_SHOW_RANK
= "eu.etaxonomy.taxeditor.checklist.checklistShowRank";
158 public static final String SHOW_ADVANCED_MEDIA_SECTION
= "eu.etaxonomy.taxeditor.media.showAdvancedMedia";
159 public static final String SHOW_SIMPLE_NAME_DETAILS_SECTION
= "eu.etaxonomy.taxeditor.name.showSimpleName";
160 public static final String SHOW_SIMPLE_NAME_DETAILS_TAXON
= "eu.etaxonomy.taxeditor.name.showNameTaxon";
161 public static final String SHOW_NAME_DETAILS_SECTION_LSID
= "eu.etaxonomy.taxeditor.name.showNameLsid";
162 public static final String SHOW_NAME_DETAILS_SECTION_NOMENCLATURAL_CODE
= "eu.etaxonomy.taxeditor.name.showNameNomenclaturalCode";
163 public static final String SHOW_NAME_DETAILS_SECTION_RANK
= "eu.etaxonomy.taxeditor.name.showNameRank";
164 public static final String SHOW_NAME_DETAILS_SECTION_NAMECACHE
= "eu.etaxonomy.taxeditor.name.showNameNameCache";
165 public static final String SHOW_NAME_DETAILS_SECTION_ATOMISED_EPITHETS
= "eu.etaxonomy.taxeditor.name.showNameAtomisedEpithets";
166 public static final String SHOW_NAME_DETAILS_SECTION_AUTHORSHIP
= "eu.etaxonomy.taxeditor.name.showNameAuthorship";
167 public static final String SHOW_NAME_DETAILS_SECTION_HYBRID
= "eu.etaxonomy.taxeditor.name.showNameHybrid";
168 public static final String SHOW_NAME_DETAILS_SECTION_NOMENCLATURAL_REFERENCE
= "eu.etaxonomy.taxeditor.name.showNameNomenclaturalReference";
169 public static final String SHOW_NAME_DETAILS_SECTION_NOMENCLATURAL_STATUS
= "eu.etaxonomy.taxeditor.name.showNameNomenclaturalStatus";
170 public static final String SHOW_NAME_DETAILS_SECTION_PROTOLOGUE
= "eu.etaxonomy.taxeditor.name.showNameProtologue";
171 public static final String SHOW_NAME_DETAILS_SECTION_TYPE_DESIGNATION
= "eu.etaxonomy.taxeditor.name.showNameTypeDesignation";
172 public static final String SHOW_NAME_DETAILS_SECTION_NAME_RELATIONSHIP
= "eu.etaxonomy.taxeditor.name.showNameNameRelationship";
173 public static final String SHOW_NAME_DETAILS_SECTION_APPENDED_PHRASE
= "eu.etaxonomy.taxeditor.name.showNameAppendedPhrase";
174 public static final String SHOW_NAME_DETAILS_SECTION_CACHE
= "eu.etaxonomy.taxeditor.name.showNameCache";
175 public static final String SHOW_NAME_DETAILS_SECTION_AUTHORSHIP_CACHE
= "eu.etaxonomy.taxeditor.name.showAuthorCache";
176 public static final String PROMPT_FOR_OPEN_SPECIMEN_IN_EDITOR
= "eu.etaxonomy.taxeditor.specimen.promptForOpenSpecimenInEditor";
179 public static final String IS_RL
= "eu.etaxonomy.taxeditor.isRL";
181 public static final String DEFAULT_LANGUAGE_EDITOR
= "eu.etaxonomy.taxeditor.default.language";
183 public static final String IS_SHOW_UP_WIDGET_IS_DISPOSED
= "eu.etaxonomy.taxeditor.isShowUpWidgetIsDisposed";
186 * Key for the saved P2 repositories
188 public static final String P2_REPOSITORY_LIST
= "eu.etaxonomy.taxeditor.p2.repositories";
189 public static final String ALLOW_OVERRIDE_NAMEDETAILS
= "eu.etaxonomy.taxeditor.details.allow_override";