From fa69e58fd6dac15c11e17d539f9848938501924c Mon Sep 17 00:00:00 2001 From: Patric Plitzner Date: Wed, 8 Jan 2014 10:02:27 +0000 Subject: [PATCH] - changed default map service access point (fixes #3941) --- .../taxeditor/preference/PreferencesUtil.java | 62 +++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/PreferencesUtil.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/PreferencesUtil.java index 4066655d9..337699222 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/PreferencesUtil.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/PreferencesUtil.java @@ -1,8 +1,8 @@ /** * Copyright (C) 2007 EDIT - * European Distributed Institute of Taxonomy + * European Distributed Institute of Taxonomy * http://www.e-taxonomy.eu - * + * * The contents of this file are subject to the Mozilla Public License Version 1.1 * See LICENSE.TXT at the top of this package for the full license terms. */ @@ -49,7 +49,7 @@ import eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin; *

* PreferencesUtil class. *

- * + * * @author p.ciardelli * @author n.hoffmann * @created 05.12.2008 @@ -58,7 +58,7 @@ import eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin; public class PreferencesUtil implements IPreferenceKeys { /** - * + * */ public static final String PREFERRED_TERMS_CHANGE = "preferred_terms"; @@ -66,7 +66,7 @@ public class PreferencesUtil implements IPreferenceKeys { *

* getPreferenceStore *

- * + * * @return a {@link org.eclipse.jface.preference.IPreferenceStore} object. */ public static IPreferenceStore getPreferenceStore() { @@ -77,7 +77,7 @@ public class PreferencesUtil implements IPreferenceKeys { *

* setPreferredNomenclaturalCode *

- * + * * @param preferredCode * a {@link eu.etaxonomy.cdm.model.name.NomenclaturalCode} * object. @@ -92,7 +92,7 @@ public class PreferencesUtil implements IPreferenceKeys { *

* getPreferredNomenclaturalCode *

- * + * * @return a {@link eu.etaxonomy.cdm.model.name.NomenclaturalCode} object. */ public static NomenclaturalCode getPreferredNomenclaturalCode() { @@ -110,7 +110,7 @@ public class PreferencesUtil implements IPreferenceKeys { /** * Get the match strategy for the given class that was stored in preferences * or the default strategy if it was not stored in preferences - * + * * @param clazz * a {@link java.lang.Class} object. * @return a {@link eu.etaxonomy.cdm.strategy.match.IMatchStrategy} object. @@ -139,7 +139,7 @@ public class PreferencesUtil implements IPreferenceKeys { /** * Stores a matchStrategy into the preference store. - * + * * @param matchStrategy * a {@link eu.etaxonomy.cdm.strategy.match.IMatchStrategy} * object. @@ -159,7 +159,7 @@ public class PreferencesUtil implements IPreferenceKeys { /** * Helper method to create the preference property for a match field. - * + * * @param className * @param fieldName * @return @@ -171,7 +171,7 @@ public class PreferencesUtil implements IPreferenceKeys { /** * Returns the default match strategy for a given class. - * + * * @param clazz * a {@link java.lang.Class} object. * @return a {@link eu.etaxonomy.cdm.strategy.match.IMatchStrategy} object. @@ -184,7 +184,7 @@ public class PreferencesUtil implements IPreferenceKeys { *

* getDateFormatPattern *

- * + * * @return a {@link java.lang.String} object. */ public static String getDateFormatPattern() { @@ -197,7 +197,7 @@ public class PreferencesUtil implements IPreferenceKeys { *

* addTermToPreferredTerms *

- * + * * @param term * a T object. * @param @@ -216,7 +216,7 @@ public class PreferencesUtil implements IPreferenceKeys { /** * Construct a unique key using the CdmBase object's uuid - * + * * @param cdmBase * @return */ @@ -230,10 +230,10 @@ public class PreferencesUtil implements IPreferenceKeys { } return key; } - + /** * Construct a unique key using the CdmBase object's uuid - * + * * @param cdmBase * @return */ @@ -247,12 +247,12 @@ public class PreferencesUtil implements IPreferenceKeys { } return key; } - - + + /** * Construct a unique key using the CdmBase object's uuid - * + * * @param cdmBase * @return */ @@ -269,7 +269,7 @@ public class PreferencesUtil implements IPreferenceKeys { /** * Retrieves search preferences from the preference store - * + * * @return an {@link ITaxonServiceConfigurator} to pass to search methods */ public static IFindTaxaAndNamesConfigurator getSearchConfigurator() { @@ -289,7 +289,7 @@ public class PreferencesUtil implements IPreferenceKeys { /** * create new preferences, setting all search options to true - * + * * @return a * {@link eu.etaxonomy.cdm.api.service.config.ITaxonServiceConfigurator} * object. @@ -323,7 +323,7 @@ public class PreferencesUtil implements IPreferenceKeys { /** * Store search preferences - * + * * @param configurator * a * {@link eu.etaxonomy.cdm.api.service.config.ITaxonServiceConfigurator} @@ -345,7 +345,7 @@ public class PreferencesUtil implements IPreferenceKeys { *

* firePreferencesChanged *

- * + * * @param clazz * a {@link java.lang.Class} object. */ @@ -362,7 +362,7 @@ public class PreferencesUtil implements IPreferenceKeys { getPreferenceStore().setDefault(TAXON_SERVICE_CONFIGURATOR_SYNONYMS, true); getPreferenceStore().setDefault(EDIT_MAP_SERVICE_ACCES_POINT, - "http://edit.br.fgov.be/edit_wp5/v1/areas.php"); + "http://edit.africamuseum.be/edit_wp5/v1.2/rest_gen.php"); //FIXME : changed default for SHOULD_CONNECT_AT_STARTUP to false (ticket 3828) until resolution getPreferenceStore().setDefault(SHOULD_CONNECT_AT_STARTUP, false); getPreferenceStore().setDefault(OPENURL_ACCESS_POINT, @@ -406,7 +406,7 @@ public class PreferencesUtil implements IPreferenceKeys { *

* getMapServiceAccessPoint *

- * + * * @return a {@link java.lang.String} object. */ public static String getMapServiceAccessPoint() { @@ -417,7 +417,7 @@ public class PreferencesUtil implements IPreferenceKeys { *

* shouldConnectAtStartUp *

- * + * * @return a boolean. */ public static boolean shouldConnectAtStartUp() { @@ -428,7 +428,7 @@ public class PreferencesUtil implements IPreferenceKeys { *

* getDefaultFeatureTreeForTextualDescription *

- * + * * @return a {@link eu.etaxonomy.cdm.model.description.FeatureTree} object. */ public static FeatureTree getDefaultFeatureTreeForTextualDescription() { @@ -442,7 +442,7 @@ public class PreferencesUtil implements IPreferenceKeys { *

* getDefaultFeatureTreeForStructuredDescription *

- * + * * @return a {@link eu.etaxonomy.cdm.model.description.FeatureTree} object. */ public static FeatureTree getDefaultFeatureTreeForStructuredDescription() { @@ -456,7 +456,7 @@ public class PreferencesUtil implements IPreferenceKeys { *

* setSortRanksHierarchichally *

- * + * * @param selection * a boolean. */ @@ -468,7 +468,7 @@ public class PreferencesUtil implements IPreferenceKeys { *

* getSortRanksHierarchichally *

- * + * * @return a boolean. */ public static boolean getSortRanksHierarchichally() { @@ -541,7 +541,7 @@ public class PreferencesUtil implements IPreferenceKeys { *

* setEditMarkerTypePreference *

- * + * * @param input * a {@link org.eclipse.ui.IEditorInput} object. * @param markerType -- 2.34.1