3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
11 package eu
.etaxonomy
.taxeditor
.preference
;
13 import eu
.etaxonomy
.cdm
.model
.occurrence
.FieldUnit
;
16 * <p>IPreferenceKeys interface.</p>
19 * @created Jul 12, 2010
22 public interface IPreferenceKeys
{
26 public static final String PREFERRED_NOMENCLATURAL_CODE_KEY
= "eu.etaxonomy.taxeditor.nomenclaturalCode";
31 public static final String TAXON_SERVICE_CONFIGURATOR_TAXA
= "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doTaxa";
36 public static final String TAXON_SERVICE_CONFIGURATOR_SYNONYMS
= "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doSynonyms";
41 public static final String TAXON_SERVICE_CONFIGURATOR_NAMES
= "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doNamesWithoutTaxa";
46 public static final String TAXON_SERVICE_CONFIGURATOR_COMMON_NAMES
= "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doTaxaByCommonNames";
49 * Whether to show UUID and database id in the supplemental data view.
51 public static final String SHOW_DEBUG_INFORMATION
= "eu.etaxonomy.taxeditor.showDebugInformation";
54 * Whether to show database id in the entity selection dialogs.
56 public static final String SHOW_ID_IN_ENTITY_SELECTION_DIAOLOG
= "eu.etaxonomy.taxeditor.showIdInEntitySelectionDiaolog";
59 * Whether to show vocabulary of the term when displaying it's label.
61 public static final String SHOW_VOCABULARY_ID_FOR_TERM_LABELS
= "eu.etaxonomy.taxeditor.showVocabularyIdForTermLabels";
66 public static final String HIDE_BULKEDITOR_INFO
= "eu.etaxonomy.taxeditor.bulkeditorInfo.hide";
71 public static final String EDIT_MARKER_TYPE_PREFIX
= "editMarkerType";
76 public static final String MATCH_STRATEGY_PREFIX
= "matchStrategy.";
79 * Access point to the EDIT Map Service that should be used.
81 public static final String EDIT_MAP_SERVICE_ACCES_POINT
= "eu.etaxonomy.taxeditor.editMapServiceAccessPoint";
84 * Whether the editor should connect to a database immediately after starting.
85 * When editor launches for the first time, it will use the default h2 database.
86 * Subsequent launches will always try to connect to the database it was connected to during
87 * the previous session.
89 public static final String SHOULD_CONNECT_AT_STARTUP
= "eu.etaxonomy.taxeditor.shouldConnectAtStartup";
91 /** Constant <code>SHOULD_EXPAND_SECTION_WHEN_DATA_AVAILABLE="eu.etaxonomy.taxeditor.shouldExpandSect"{trunked}</code> */
92 public static final String SHOULD_EXPAND_SECTION_WHEN_DATA_AVAILABLE
= "eu.etaxonomy.taxeditor.shouldExpandSectionWhenDataAvailable";
94 /** Constant <code>FEATURE_TREE_DEFAULT_TEXT="eu.etaxonomy.taxeditor.featureTree.defa"{trunked}</code> */
95 public static final String FEATURE_TREE_DEFAULT_TEXT
= "eu.etaxonomy.taxeditor.featureTree.default.textualData";
97 /** Constant <code>FEATURE_TREE_DEFAULT_STRUCTURE="eu.etaxonomy.taxeditor.featureTree.defa"{trunked}</code> */
98 public static final String FEATURE_TREE_DEFAULT_STRUCTURE
= "eu.etaxonomy.taxeditor.featureTree.default.structuralData";
100 /** Constant <code>SORT_RANKS_HIERARCHICHALLY="eu.etaxonomy.taxeditor.menus.sortRanksH"{trunked}</code> */
101 public static final String SORT_RANKS_HIERARCHICHALLY
= "eu.etaxonomy.taxeditor.menus.sortRanksHierarchichally";
102 /** Constant <code>SORT_NODES_NATURALL="eu.etaxonomy.taxeditor.menus.sortNodesN"{trunked}</code> */
103 public static final String SORT_NODES_NATURALLY
= "eu.etaxonomy.taxeditor.menus.sortNodesNaturally";
106 * Whether multilanguage text fields should be editable in multiple languages.
108 public static final String MULTILANGUAGE_TEXT_EDITING_CAPABILITY
= "eu.etaxonomy.taxeditor.capability.edit.mulitlanugageText";
111 * The language to be used for all things multilanguage
113 public static final String GLOBAL_LANGUAGE_UUID
= "eu.etaxonomy.taxeditor.globalLanguage";
115 public static final String SHOW_EXPERIMENTAL_FEATURES
= "eu.etaxonomy.taxeditor.showExperimentalFeatures";
117 public static final String OPENURL_ACCESS_POINT
= "eu.etaxonomy.taxeditor.openUrlAccessPoint";
119 public static final String OPENURL_IMAGE_MAX_WIDTH
= "eu.etaxonomy.taxeditor.openUrlImageMaxWidth";
121 public static final String OPENURL_IMAGE_MAX_HEIGHT
= "eu.etaxonomy.taxeditor.openUrlImageMaxHeight";
124 * Whether the occurrence bulk editor should show {@link FieldUnit} objects
126 public static final String BULK_EDITOR_OCCURRENCE_SHOW_FIELD_UNITS
= "eu.etaxonomy.taxeditor.bulkeditor.occurrence.showFieldUnits";
128 public static final String SEARCH_OPEN_RESULTS_IN_SEPARATE_WINDOWS
= "eu.etaxonomy.taxeditor.navigation.search.openResultInSeparateWindows";
130 public static final String ADD_TYPES_TO_ALL_NAMES
= "eu.etaxonomy.taxeditor.store.addTypeToAllNames";
132 public static final String DETERMINATION_ONLY_FOR_FIELD_UNITS
= "eu.etaxonomy.taxeditor.specimen.determinationOnlyOnFieldUnitLevel";
134 public static final String SHOW_COLLECTING_AREAS_IN_GENERAL_SECTION
= "eu.etaxonomy.taxeditor.specimen.showCollectingAreasInGeneralSection";
136 public static final String SHOW_TAXON_ASSOCIATIONS
= "eu.etaxonomy.taxeditor.specimen.showTaxonAssociations";
138 public static final String DISTRIBUTION_AREA_PREFRENCES_ACTIVE
= "eu.etaxonomy.taxeditor.checklist.distributionAreaPreferencesActive";
140 public static final String DISTRIBUTION_AREA_OCCURENCE_STATUS
= "eu.etaxonomy.taxeditor.checklist.distributionAreaStatus";
142 public static final String DISTRIBUTION_AREA_OCCURENCE_STATUS_GRAYED
= "eu.etaxonomy.taxeditor.checklist.distributionAreaStatusGrayed";
144 public static final String SHOW_ADVANCED_MEDIA_SECTION
= "eu.etaxonomy.taxeditor.media.showAdvancedMedia";
146 public static final String ALWAYS_OPEN_SPECIMEN_IN_EDITOR
= "eu.etaxonomy.taxeditor.specimen.alwaysOpenSpecimenInEditor";
148 public static final String PROMPT_FOR_OPEN_SPECIMEN_IN_EDITOR
= "eu.etaxonomy.taxeditor.specimen.promptForOpenSpecimenInEditor";
151 public static final String IS_RL
= "eu.etaxonomy.taxeditor.isRL";
153 public static final String DEFAULT_LANGUAGE_EDITOR
= "eu.etaxonomy.taxeditor.default.language";
156 * Key for the saved P2 repositories
158 public static final String P2_REPOSITORY_LIST
= "eu.etaxonomy.taxeditor.p2.repositories";