Preferences for simple view
authorKatja Luther <k.luther@bgbm.org>
Fri, 3 Jun 2016 12:28:14 +0000 (14:28 +0200)
committerKatja Luther <k.luther@bgbm.org>
Fri, 3 Jun 2016 12:28:14 +0000 (14:28 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/IPreferenceKeys.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/PreferencesUtil.java

index 884cb678f6eabfd993999ac8e6a22b8af63008f4..bba640bed27d9399a8653db56ce185291000de71 100644 (file)
@@ -45,6 +45,11 @@ public interface IPreferenceKeys {
         */
        public static final String TAXON_SERVICE_CONFIGURATOR_COMMON_NAMES = "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doTaxaByCommonNames";
 
+       /**
+    *
+    */
+   public static final String TAXON_SERVICE_CONFIGURATOR_MATCH_MODE = "eu.etaxonomy.taxeditor.taxonServiceConfigurator.doSearchByMatchMode";
+
        /**
         * Whether to show UUID and database id in the supplemental data view.
         */
@@ -147,6 +152,7 @@ public interface IPreferenceKeys {
     public static final String DISTRIBUTION_AREA_OCCURENCE_STATUS_GRAYED = "eu.etaxonomy.taxeditor.checklist.distributionAreaStatusGrayed";
 
     public static final String SHOW_ADVANCED_MEDIA_SECTION = "eu.etaxonomy.taxeditor.media.showAdvancedMedia";
+    public static final String SHOW_SIMPLE_NAME_DETAILS_SECTION = "eu.etaxonomy.taxeditor.name.showSimpleName";
 
     public static final String PROMPT_FOR_OPEN_SPECIMEN_IN_EDITOR = "eu.etaxonomy.taxeditor.specimen.promptForOpenSpecimenInEditor";
 
index dbaec0027e96500d82ef5b56b6a8715107e2f67e..4b91378f256623a5b53ae5687fc3eb8c934cfa53 100644 (file)
@@ -309,6 +309,7 @@ public class PreferencesUtil implements IPreferenceKeys {
                                TAXON_SERVICE_CONFIGURATOR_NAMES));
                configurator.setDoTaxaByCommonNames(getPreferenceStore().getBoolean(
                                TAXON_SERVICE_CONFIGURATOR_COMMON_NAMES));
+               //configurator.setMatchMode(eu.etaxonomy.cdm.persistence.query.MatchMode.valueOf(getPreferenceStore().getString(TAXON_SERVICE_CONFIGURATOR_MATCH_MODE)));
 
                return configurator;
        }