ref #7163: restructure preferences and externalize strings in preferences
authorKatja Luther <k.luther@bgbm.org>
Mon, 21 Jan 2019 10:56:49 +0000 (11:56 +0100)
committerKatja Luther <k.luther@bgbm.org>
Mon, 21 Jan 2019 10:56:49 +0000 (11:56 +0100)
22 files changed:
eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle.properties
eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle_de.properties
eu.etaxonomy.taxeditor.store/plugin.xml
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/Messages.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages.properties
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages_de.properties
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/DebugPreferences.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/DefaultFeatureTreePreferenecs.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/DescriptionPreferences.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/ExperimentalFeaturesPreferences.java [new file with mode: 0755]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/ExternalServicesPreferences.java [new file with mode: 0755]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/LanguageRepresentationPreferencePage.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/MediaPreferences.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/NamePreferences.java [new file with mode: 0755]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/OrderPreferences.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/SearchDialogPreferences.java [new file with mode: 0755]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/SearchPreferences.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/SupplementalDataPreferences.java [new file with mode: 0755]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TaxonPreferences.java [new file with mode: 0755]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TaxonSearchPreferences.java [new file with mode: 0755]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TaxonomicEditorGeneralPreferences.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/UIPreferences.java [new file with mode: 0755]

index 635488ebb7bcc708e4133122122901e96bba803e..19eed76e9334981476591599a977608bc1f344f5 100644 (file)
@@ -15,7 +15,7 @@ page.name.11 = Marker
 page.name.12 = Extension Types\r
 page.name.13 = Type Designation (Name)\r
 page.name.14 = Named Area Type\r
-page.name.15 = Matching (Experimental)\r
+page.name.15 = Matching\r
 page.name.16 = Taxon Name Matching Strategy\r
 page.name.17 = Reference Matching Strategy\r
 page.name.18 = Team or Person Matching Strategy\r
@@ -127,7 +127,7 @@ fontDefinition.description.1 = The font used by default in the search result lis
 colorDefinition.label.13 = Parse Error\r
 colorDefinition.label.14 = Disabled Name Editor Field\r
 colorDefinition.label.15 = Editor On Error\r
-page.name.26 = Specimens and FieldUnits\r
+page.name.26 = Specimens\r
 page.name.27 = Media\r
 page.name.28 = Distribution Editor\r
 page.name.29 = Editor Profile\r
@@ -197,7 +197,7 @@ extension-point.name.1 = Admin Preference Page
 page.name.45 = Specimen\r
 page.name.46 = Publish Flag\r
 page.name.47 = Common Names\r
-page.name.48 = Identifier Search\r
+page.name.48 = Search Dialogs\r
 command.name.111 = Open Admin Distributionstatus-Wizard\r
 command.name.112 = Open Admin CommonNameArea-Wizard
 handledmenuitem.label.1 = New Feature Tree
@@ -240,3 +240,12 @@ command.commandname.13 = Open Distribution Status Wizard
 menu.label.4 = Export
 handledmenuitem.label.14 = Export as Ontology
 command.commandname.14 = Export as Ontology
+\r
+page.name.49 = Experimental Features\r
+page.name.51 = Names\r
+page.name.52 = Taxa\r
+page.name.53 = UI\r
+page.name.54 = External Services\r
+page.name.55 = Supplemental Data\r
+page.name.56 = Search\r
+page.name.57 = Taxon Search
\ No newline at end of file
index 02e0c27f243682dbc087911c39e67e26b0c5abcd..d844f57f6f00ecf0a986d474c0b5bd5b14c79530 100644 (file)
@@ -1,5 +1,5 @@
 #Properties file for eu.etaxonomy.taxeditor.store, German
-page.name = Loakale Pr\u00e4ferenzen
+page.name = Lokale Pr\u00e4ferenzen
 page.name.0 = Faktendaten
 page.name.1 = Merkmal
 page.name.2 = Verbreitungsstatus
@@ -15,7 +15,7 @@ page.name.11 = Marker
 page.name.12 = Erweiterungen
 page.name.13 = Typusarten (Namen)
 page.name.14 = Gebiete
-page.name.15 = Matching (experimentell)
+page.name.15 = Matching
 page.name.16 = Taxonnamen Matching-Strategie
 page.name.17 = Referenz Matching-Strategie
 page.name.18 = Team oder Personen Matching-Strategie
@@ -127,7 +127,7 @@ fontDefinition.description.1 = Die Schrift, die normalerweise in den Suchergebni
 colorDefinition.label.13 = Fehler beim Parsing
 colorDefinition.label.14 = Gesperrtes Namenseditierfeld
 colorDefinition.label.15 = Editor fehlerhaft
-page.name.26 = Specimens und Field Units
+page.name.26 = Specimens
 page.name.27 = Media
 page.name.28 = Verbreitungs-Editor
 page.name.29 = Editor Profil
@@ -197,7 +197,7 @@ extension-point.name.1 = Admin Pr
 page.name.45 = Specimen
 page.name.46 = Publish Flag
 page.name.47 = Trivialnamen
-page.name.48 = Identifier Suche
+page.name.48 = Such Dialoge
 command.name.111 = \u00d6ffne Admin Verbreitungsstatus-Wizard
 command.name.112 = \u00d6ffne Admin Common Name Areal-Wizard
 handledmenuitem.label.1 = Neuer Merkmalsbaum
@@ -234,4 +234,13 @@ command.commandname.13 = 
 
 menu.label.4 = Export
 handledmenuitem.label.14 = Export als Ontologie
-command.commandname.14 = Export als Ontologie
\ No newline at end of file
+command.commandname.14 = Export als Ontologie
+
+page.name.49 = Experimentelle Features
+page.name.51 = Namen
+page.name.52 = Taxa
+page.name.53 = UI
+page.name.54 = Externe Services
+page.name.55 = Zusatzdaten
+page.name.56 = Suche
+page.name.57 = Taxon Suche
\ No newline at end of file
index 9743a5fc7bf991aaab710bf19ab2e76ef234f386..c3d558cbaffe6738100d17b811b4221214fe981b 100755 (executable)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?eclipse version="3.2"?>
 <plugin>
-   <extension-point id="eu.etaxonomy.taxeditor.store.cdmViewer" name="Cdm Viewer" schema="schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd"/>
-   <extension-point id="eu.etaxonomy.taxeditor.store.preferencePage" name="Preference Page" schema="schema/eu.etaxonomy.taxeditor.store.preferencePage.exsd"/>
+   <extension-point id="eu.etaxonomy.taxeditor.store.cdmViewer" name="%extension-point.name.2" schema="schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd"/>
+   <extension-point id="eu.etaxonomy.taxeditor.store.preferencePage" name="%extension-point.name.3" schema="schema/eu.etaxonomy.taxeditor.store.preferencePage.exsd"/>
    <extension-point id="eu.etaxonomy.taxeditor.store.adminPreferencePage" name="%extension-point.name.1" schema="schema/eu.etaxonomy.taxeditor.store.adminPreferencePage.exsd"/>
    <extension
          point="org.eclipse.ui.menus">
 </extension>
 <extension
       id="eu.etaxonomy.taxeditor.store.workbench.model"
-      name="Store Workbench Model"
+      name="%extension.name.2"
       point="org.eclipse.e4.workbench.model">
    <fragment
          apply="always"
          id="eu.etaxonomy.taxeditor.preferences.general"
          name="%page.name">
    </page>
-   <page
-         category="eu.etaxonomy.taxeditor.preferences.general"
-         class="eu.etaxonomy.taxeditor.preference.NameDetailsViewConfiguration"
-         id="eu.etaxonomy.taxeditor.preferences.nameDetails"
-         name="%page.name.36">
-   </page>
    <page
          category="eu.etaxonomy.taxeditor.preferences.general"
          class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
          name="%page.name.2">
    </page>-->
     <page
-         category="eu.etaxonomy.taxeditor.preferences.general"
-         class="eu.etaxonomy.taxeditor.preference.SearchPreferences"
-         id="eu.etaxonomy.taxeditor.preferences.search"
+         category="eu.etaxonomy.taxeditor.preference.searchPreferences"
+         class="eu.etaxonomy.taxeditor.preference.SearchDialogPreferences"
+         id="eu.etaxonomy.taxeditor.preferences.searchDialog"
          name="%page.name.48">
    </page>
    <page
-         category="eu.etaxonomy.taxeditor.preferences.general"
-         class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
-         id="eu.etaxonomy.taxeditor.preferences.taxonomic"
-         name="%page.name.3">
-   </page>
-   <page
-         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
+         category="eu.etaxonomy.taxeditor.preferences.name"
          class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalCodePreferences"
          id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
          name="%page.name.4">
    </page>
    <page
-         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
+         category="eu.etaxonomy.taxeditor.preferences.namePreferences"
          class="eu.etaxonomy.taxeditor.preference.menu.RankMenuPreferences"
          id="eu.etaxonomy.taxeditor.preferences.ranks"
          name="%page.name.5">
    </page>
    <page
-         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
+         category="eu.etaxonomy.taxeditor.preferences.namePreferences"
          class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalStatusTypeMenuPreferences"
          id="eu.etaxonomy.taxeditor.preferences.nomenclaturalStatusType"
          name="%page.name.6">
    </page>
    <page
-         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
+         category="eu.etaxonomy.taxeditor.preferences.namePreferences"
          class="eu.etaxonomy.taxeditor.preference.menu.NameRelationshipTypeMenuPreferences"
          id="eu.etaxonomy.taxeditor.preferences.nameRelationshipType"
          name="%page.name.7">
    </page>
    <page
-         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
+         category="eu.etaxonomy.taxeditor.preferences.taxonPreferences"
          class="eu.etaxonomy.taxeditor.preference.menu.TaxonRelationshipTypeMenuPreferences"
          id="taxeditor-store.page1"
          name="%page.name.8">
    </page>
    <page
-         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
+         category="eu.etaxonomy.taxeditor.preferences.namePreferences"
          class="eu.etaxonomy.taxeditor.preference.menu.SpecimenTypeDesignationStatusMenuPreferences"
          id="eu.etaxonomy.taxeditor.preferences.specimenTypeDesignationStatus"
          name="%page.name.9">
    </page>
    <page
-         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
+         category="eu.etaxonomy.taxeditor.preferences.namePreferences"
          class="eu.etaxonomy.taxeditor.preference.menu.NameTypeDesignationStatusMenuPreferences"
          id="eu.etaxonomy.taxeditor.preferences.nameTypeDesignationStatus"
          name="%page.name.13">
          name="%page.name.10">
    </page>
    <page
-         category="eu.etaxonomy.taxeditor.preferences.general"
+         category="eu.etaxonomy.taxeditor.preference.supplementalDataPreferences"
          class="eu.etaxonomy.taxeditor.preference.menu.MarkerTypeMenuPreferences"
          id="eu.etaxonomy.taxeditor.preferences.markerTypes"
          name="%page.name.11">
    </page>
    <page
-         category="eu.etaxonomy.taxeditor.preferences.general"
+         category="eu.etaxonomy.taxeditor.preference.supplementalDataPreferences"
          class="eu.etaxonomy.taxeditor.preference.menu.ExtensionTypeMenuPreferences"
          id="eu.etaxonomy.taxeditor.preferences.extensionTypes"
          name="%page.name.12">
    </page>
    <page
          category="eu.etaxonomy.taxeditor.preferences.general"
+         class="eu.etaxonomy.taxeditor.preference.ExperimentalFeaturesPreferences"
+         id="eu.etaxonomy.taxeditor.preferences.experimentalFeaturesPreferences"
+         name="%page.name.49">
+   </page>
+   <page
+         category="eu.etaxonomy.taxeditor.preferences.experimentalFeaturesPreferences"
          class="eu.etaxonomy.taxeditor.preference.MatchingPreferences"
          id="eu.etaxonomy.taxeditor.preferences.matching"
          name="%page.name.15">
          name="%page.name.23">
    </page>
    <page
-         category="eu.etaxonomy.taxeditor.preferences.general"
+         category="eu.etaxonomy.taxeditor.preferences.externalServicesPreferences"
          class="eu.etaxonomy.taxeditor.preference.MobotOpenUrlPreferences"
          id="eu.etaxonomy.taxeditor.preferences.mobotOpenUrl"
          name="%page.name.24">
    </page>
-   <page
-         category="eu.etaxonomy.taxeditor.preferences.general"
-         class="eu.etaxonomy.taxeditor.preference.TypeDesignationPreferences"
-         id="eu.etaxonomy.taxeditor.preferences.typeDesignation"
-         name="%page.name.25">
-   </page>
    <page
          category="eu.etaxonomy.taxeditor.preferences.general"
          class="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
          name="%page.name.26">
    </page>
    <page
-         category="eu.etaxonomy.taxeditor.preferences.general"
+         category="eu.etaxonomy.taxeditor.preference.UIPreferences"
          class="eu.etaxonomy.taxeditor.preference.MediaPreferences"
          id="eu.etaxonomy.taxeditor.preference.MediaPreferences"
          name="%page.name.27">
    </page>
    <page
-         category="eu.etaxonomy.taxeditor.preferences.general"
+         category="eu.etaxonomy.taxeditor.preference.UIPreferences"
          class="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreference"
          id="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreferencePage"
          name="%page.name.28">
          name="%page.name.30">
    </page>
    <page
-         category="eu.etaxonomy.taxeditor.preferences.general"
+         category="eu.etaxonomy.taxeditor.preference.UIPreferences"
          class="eu.etaxonomy.taxeditor.preference.OrderPreferences"
          id="eu.etaxonomy.taxeditor.preference.TaxonNavigator"
          name="%page.name.32">
          id="eu.etaxonomy.taxeditor.preferences.generalPreferences"
          name="%page.name.50">
    </page>
+   <page
+         category="eu.etaxonomy.taxeditor.preferences.namePreferences"
+         class="eu.etaxonomy.taxeditor.preference.NameDetailsViewConfiguration"
+         id="eu.etaxonomy.taxeditor.preferences.nameDetails"
+         name="%page.name.36">
+   </page>
+   <page
+         category="eu.etaxonomy.taxeditor.preference.UIPreferences"
+         class="eu.etaxonomy.taxeditor.preference.NameDetailsViewConfiguration"
+         id="eu.etaxonomy.taxeditor.preferences.nameDetailsUI"
+         name="%page.name.36">
+   </page>
+     <page
+         category="eu.etaxonomy.taxeditor.preferences.namePreferences"
+         class="eu.etaxonomy.taxeditor.preference.TypeDesignationPreferences"
+         id="eu.etaxonomy.taxeditor.preferences.typeDesignation"
+         name="%page.name.25">
+   </page>
+   <page
+         category="eu.etaxonomy.taxeditor.preferences.general"
+         class="eu.etaxonomy.taxeditor.preference.NamePreferences"
+         id="eu.etaxonomy.taxeditor.preferences.namePreferences"
+         name="%page.name.51">
+   </page>
+   <page
+         category="eu.etaxonomy.taxeditor.preferences.general"
+         class="eu.etaxonomy.taxeditor.preference.TaxonPreferences"
+         id="eu.etaxonomy.taxeditor.preferences.taxonPreferences"
+         name="%page.name.52">
+   </page>
+   <page
+         category="eu.etaxonomy.taxeditor.preferences.general"
+         class="eu.etaxonomy.taxeditor.preference.UIPreferences"
+         id="eu.etaxonomy.taxeditor.preference.UIPreferences"
+         name="%page.name.53">
+   </page>
+   <page
+         category="eu.etaxonomy.taxeditor.preferences.general"
+         class="eu.etaxonomy.taxeditor.preference.ExternalServicesPreferences"
+         id="eu.etaxonomy.taxeditor.preference.externalServicesPreferences"
+         name="%page.name.54">
+   </page>
+   <page
+         category="eu.etaxonomy.taxeditor.preferences.general"
+         class="eu.etaxonomy.taxeditor.preference.SupplementalDataPreferences"
+         id="eu.etaxonomy.taxeditor.preference.supplementalDataPreferences"
+         name="%page.name.55">
+   </page>
+   <page
+         category="eu.etaxonomy.taxeditor.preferences.general"
+         class="eu.etaxonomy.taxeditor.preference.SearchPreferences"
+         id="eu.etaxonomy.taxeditor.preference.searchPreferences"
+         name="%page.name.56">
+   </page>
+    <page
+         category="eu.etaxonomy.taxeditor.preference.searchPreferences"
+         class="eu.etaxonomy.taxeditor.preference.TaxonSearchPreferences"
+         id="eu.etaxonomy.taxeditor.preference.taxonSearchPreferences"
+         name="%page.name.57">
+   </page>
+   
+   
 </extension>
 <extension
       point="eu.etaxonomy.taxeditor.store.adminPreferencePage">
index 0bf15d31c01e3936194ca9ec18969cfd44ea895a..722344ec58f75b0a612d0b85be265c8f1fb69678 100644 (file)
@@ -27,6 +27,10 @@ public class Messages extends NLS {
     public static String LanguageEditorPreferencePage_RestartRequired;
 
 
+    public static String LanguageRepresentationPreferencePage_global;
+    public static String LanguageRepresentationPreferencePage_enable;
+
+
     public static String ListComponent_ADD_PROVIDER;
 
 
@@ -67,8 +71,12 @@ public class Messages extends NLS {
     public static String OpenDistributionEditorWizardHandlerE4_DISTRIBUTION;
 
 
-    public static String OrderPreferencePage_NewNavigatorWindowRequired;
-    public static String OrderPreferencePage_PleaseReopenNavigator;
+    public static String OrderPreferences_Restore;
+
+
+    public static String OrderPreferences_Sorting;
+
+
     public static String CdmDataSourceViewPart_1;
     public static String CdmDataSourceViewPart_10;
     public static String CdmDataSourceViewPart_11;
@@ -88,27 +96,14 @@ public class Messages extends NLS {
     public static String ChangeConnectionHandler_REALLY_CREATE_DATAMODEL;
     public static String ChangeConnectionHandler_DATASOURCE_NOT_AVAILABLE;
     public static String ChangeConnectionHandler_NOT_AVAILABLE_REASONS;
-    public static String UpdateHandler_CHECK_UPDATE_JOB;
-
 
+    public static String UpdateHandler_CHECK_UPDATE_JOB;
     public static String UpdateHandler_INSTALL_JOB;
-
-
     public static String UpdateHandler_NO_UPDATE_MESSAGE;
-
-
     public static String UpdateHandler_NO_UPDATE_TITLE;
-
-
     public static String UpdateHandler_UPDATE_INSTALLED_TITLE;
-
-
     public static String UpdateHandler_UPDATE_INSTALLED_TITLE_MESSAGE;
-
-
     public static String UpdateHandler_UPDATES_FOUND_MESSAGE;
-
-
     public static String UpdateHandler_UPDATES_FOUND_TITLE;
 
 
@@ -136,43 +131,30 @@ public class Messages extends NLS {
 
 
     public static String ConfiguratorComposite_CONFIGURE;
-       public static String DefinedTermDropAdapterE4_MOVE_DESCRIPTIONS;
-
 
+       public static String DefinedTermDropAdapterE4_MOVE_DESCRIPTIONS;
     public static String DefinedTermDropAdapterE4_MOVE_FAILED;
-
-
     public static String DefinedTermDropAdapterE4_MOVE_FAILED_MESSAGE;
-
-
     public static String DefinedTermDropAdapterE4_MOVE_FAILED_SAVE_MESSAGE;
 
+    public static String DebugPreferences_0;
+    public static String DebugPreferences_1;
 
-    public static String DefinedTermEditorE4_SAVE_MESSAGE;
+    public static String DefaultFeatureTreePreferenecs_0;
+    public static String DefaultFeatureTreePreferenecs_1;
 
 
+    public static String DefinedTermEditorE4_SAVE_MESSAGE;
     public static String DefinedTermEditorE4_SAVE_TITLE;
-
-
     public static String DefinedTermMenu_FEATURE_TREE;
-
-
     public static String DefinedTermMenu_MENU;
-
-
     public static String DefinedTermMenu_OTHER_S;
-
-
     public static String DefinedTermMenu_OTHERS;
-
-
     public static String DefinedTermMenu_TERM_EDITOR;
 
-
     public static String DetailsViewerE4_TAXON_HAS_NO_NAME;
-
-
     public static String DetailsViewPart_VIEWER_NAME;
+
     public static String EditPasswordElement_PLEASE_CREATE_OR_SAVE_USER;
     public static String EditPasswordElement_USERNAME_DOES_NOT_EXIST;
 
@@ -189,136 +171,62 @@ public class Messages extends NLS {
     public static String PasswordWizardPage_PASSWORD_MIN_CHARACTER;
     public static String PasswordWizardPage_PASSWORDS_DO_NOT_MATCH;
     public static String PasswordWizardPage_REPEAT_PASSWORD;
+
     public static String PresenceAbsenceTermDetailElement_CHOOSE_COLOR;
     public static String PresenceAbsenceTermDetailElement_COLOR_NOT_SET;
     public static String PresenceAbsenceTermDetailElement_LABEL_COLOR;
-    public static String RemotingLoginDialog_CHOOSE_COMPATIBLE_CDM_SERVER;
-
 
+    public static String RemotingLoginDialog_CHOOSE_COMPATIBLE_CDM_SERVER;
     public static String RemotingLoginDialog_DEFAULT_LOGIN;
-
-
        public static String RemotingLoginDialog_LABEL_ADVANCED;
-
-
        public static String RemotingLoginDialog_LABEL_CDM_INSTANCE;
-
-
        public static String RemotingLoginDialog_LABEL_CDM_SERVER;
-
-
        public static String RemotingLoginDialog_LABEL_CONNECT;
-
-
        public static String RemotingLoginDialog_LABEL_EDITOR_CDM_VERSION;
-
-
        public static String RemotingLoginDialog_LABEL_EDITOR_CDMLIB_VERSION;
-
-
        public static String RemotingLoginDialog_LABEL_LOGIN;
-
-
        public static String RemotingLoginDialog_LABEL_LOGIN_COLON;
-
-
        public static String RemotingLoginDialog_LABEL_PASSWORD;
-
-
        public static String RemotingLoginDialog_LABEL_PORT;
-
-
        public static String RemotingLoginDialog_LABEL_REFRESH;
-
-
        public static String RemotingLoginDialog_LABEL_REMEMBER_ME;
-
-
        public static String RemotingLoginDialog_RETRIEVE_SERVER_INSTANCES;
-
-
        public static String RemotingLoginDialog_LABEL_SERVER_CDM_VERSION;
-
-
        public static String RemotingLoginDialog_LABEL_SERVER_CDMLIB_VERSION;
-
-
        public static String RemotingLoginDialog_LABEL_STOP_MANAGED_SERVER;
-
-
        public static String RemotingLoginDialog_LOGIN_CANNOT_BE_EMPTY;
-
-
        public static String RemotingLoginDialog_MESSAGE_PORT_SHOULD_BE_INTEGER;
-
-
        public static String RemotingLoginDialog_PASSWORD_CANNOT_BE_EMPTY;
-
-
        public static String RemotingLoginDialog_SERVER_LAUNCH_ERROR;
-
-
        public static String RemotingLoginDialog_STATUS_AVAILABLE;
-
-
        public static String RemotingLoginDialog_STATUS_CHECKING;
-
-
        public static String RemotingLoginDialog_STATUS_ERROR;
        public static String RemotingLoginDialog_STATUS_NO_INSTANCES_FOUND;
-
-
        public static String RemotingLoginDialog_STATUS_NOT_AVAILABLE;
-
-
        public static String RemotingLoginDialog_STATUS_NOT_COMPATIBLE;
-
-
        public static String RemotingLoginDialog_STATUS_NOT_STARTED;
-
-
        public static String RemotingLoginDialog_STATUS_REMOTING_NOT_ACTIVATED;
        public static String RemotingLoginDialog_STATUS_RETRIEVING;
-
-
        public static String RemotingLoginDialog_STATUS_STARTED;
-
-
        public static String RemotingLoginDialog_UPDATE_EDITOR;
-
-
        public static String RemotingLoginDialog_CONNECTION_FAILED_MESSAGE;
-
-
     public static String RemotingLoginDialog_CONNECTION_FAILED_TITLE;
-
-
     public static String RemotingLoginDialog_COULD_NOT_STOP_SERVER;
-
-
        public static String RemotingLoginDialog_ERROR_GENERATING_CONFIG_FILE;
-
-
        public static String RemotingLoginDialog_ERROR_STARTING_SERVER;
-
-
        public static String RemotingLoginDialog_ERROR_STOPPING_SERVER;
-
-
        public static String RemotingLoginDialog_GENERATING_CONFIG_FILE;
-
-
        public static String RemotingLoginDialog_JOB_SERVER_LAUNCH;
-
-
        public static String RemotingLoginDialog_STARTING_MGD_SERVER;
-
        public static String RemotingLoginDialog_TASK_LAUNCHING_SERVER;
 
 
     public static String SearchManager_LARGE_RESULT_EXPECTED;
     public static String SearchManager_LONG_SEARCH_WARNING;
-       public static String SupplementalDataViewPart_VIEWER_NAME;
+
+    public static String SupplementalDataPreferences_0;
+
+    public static String SupplementalDataViewPart_VIEWER_NAME;
        public static String DeleteConfiguration_media_removeFromGallery;
        public static String DeleteConfiguration_media_deleteIfUsedInTaxonDescription;
        public static String DeleteConfiguration_media_deleteIfUsedSomeWhereElse;
@@ -326,36 +234,21 @@ public class Messages extends NLS {
 
 
     public static String DeleteResultMessagingUtils_ABORT;
-
-
     public static String DeleteResultMessagingUtils_SUCCES;
-       public static String DeleteTermBaseOperation_CANNOT_DELETE_TERM;
-
 
+    public static String DeleteTermBaseOperation_CANNOT_DELETE_TERM;
     public static String DeleteTermBaseOperation_CANNOT_DELETE_VOC;
-
-
     public static String DeleteTermBaseOperation_DELETE_ALL_TERMS_BEFORE;
-
-
     public static String DeleteTermBaseOperation_DELETE_FAILED;
-
-
     public static String DeleteTermBaseOperation_SYSTEM_TERM;
-
-
     public static String DeleteTermBaseOperation_SYSTEM_VOC;
-
-
     public static String DeleteTermBaseOperation_TERM_INCLUDES_OTHERS;
-
-
     public static String DeleteTermBaseOperation_TERM_INLCUDES;
-
-
     public static String DeleteTermBaseOperation_VOC_NOT_EMPTY;
 
 
+    public static String DescriptionPreferences_1;
+
     public static String NewGrantedAuthority_AlreadyInDb;
 
     public static String SetSecundumConfiguration_IncludeAcceptedTaxa;
@@ -398,7 +291,6 @@ public class Messages extends NLS {
     public static String DatabasePreferencesPage_SetPublishFlag;
 
     public static String ImportFromFileAndChooseVocIdWizardPage_AreaVoc;
-
     public static String ImportFromFileAndChooseVocIdWizardOage_AreaVoc_toolTip;
 
 
@@ -411,69 +303,32 @@ public class Messages extends NLS {
 
 
     public static String FeatureTreeDropAdapter_CHOOSE_VOC;
-
-
     public static String FeatureTreeDropAdapter_IMPORT_NOT_POSSIBLE;
-
-
     public static String FeatureTreeDropAdapter_MOVE_FAILED_SAVE_MESSAGE;
-
-
     public static String FeatureTreeDropAdapter_ONLY_MOVE_FEATURES;
-
-
     public static String FeatureTreeDropAdapter_ORDER_VOC_NOT_POSSIBLE;
 
-
     public static String FeatureTreeEditorComposite_ADD_FEATURE;
-
-
     public static String FeatureTreeEditorComposite_FEATURE_TREE;
-
-
     public static String FeatureTreeEditorComposite_OPEN_TREE;
-
-
     public static String FeatureTreeEditorComposite_REMOVE_FEATURE;
 
-
     public static String FeatureTreeSelectionDialog_CHOOSE_TREE;
-
-
     public static String FeatureTreeSelectionDialog_ENTER_LABEL;
-
-
     public static String FeatureTreeSelectionDialog_NEW_TREE;
-
-
     public static String FeatureTreeSelectionDialog_TREE_LABEL;
 
 
        public static String NonViralNameDetails_confirmDeleteOfZoologicalNameParts;
-
-
        public static String NonViralNameDetails_descriptionDeleteZoologicalNameParts;
-
-
        public static String NonViralNameDetails_confirmDeleteOfBacterialNameParts;
-
-
        public static String NonViralNameDetails_desciptionDeleteOfBacterialNameParts;
-
-
        public static String NonViralNameDetails_confirmDeleteOfFungiNameParts;
-
-
        public static String NonViralNameDetails_descriptionDeleteOfFungiNameParts;
-
-
        public static String NonViralNameDetails_confirmDeleteOfCultivarNameParts;
-
-
        public static String NonViralNameDetails_descriptionDeleteOfCultivarNameParts;
 
-
-    public static String NameDetailsViewComposite_Show_TypeDesignation;
+       public static String NameDetailsViewComposite_Show_TypeDesignation;
     public static String NameDetailsViewComposite_Show_Namerelationships;
     public static String NameDetailsViewComposite_Show_Hybrid;
     public static String NameDetailsViewComposite_Show_NameApprobiation;
@@ -493,8 +348,6 @@ public class Messages extends NLS {
     public static String NameDetailsViewComposite_Show_Protologue;
 
     public static String NameDetailsViewConfiguration_activateSimpleDetailsView;
-
-
     public static String NameDetailsViewConfiguration_description;
     public static String NameDetailsViewConfiguration_useLocalSettings;
     public static String NameDetailsViewConfiguration_description_not_available;
@@ -506,8 +359,6 @@ public class Messages extends NLS {
     public static String SetPublishConfiguration_Publish;
     public static String SetPublishConfiguration_Publish_tooltip;
     public static String SetPublishConfiguration_Description_Configurator;
-
-
     public static String SetPublishConfiguration_IncludeAcceptedTaxa;
     public static String SetPublishConfiguration_IncludeSharedtaxa;
     public static String SetPublishConfiguration_IncludeSynonyms;
@@ -519,11 +370,18 @@ public class Messages extends NLS {
     public static String ExcelTaxonUpdateWizard_ConfiguratorWizard_label;
 
 
+    public static String ExperimentalFeaturesPreferences;
+
+
     public static String SetPublishConfiguration_Title;
     public static String SetPublishConfiguration_publish;
     public static String SetPublishConfiguration_dont_publish;
 
 
+    public static String TaxonomicEditorGeneralPreferences_0;
+    public static String TaxonomicEditorGeneralPreferences_1;
+
+
     public static String TCSImportWizard_ConfiguratorWizard_label;
 
 
@@ -565,17 +423,10 @@ public class Messages extends NLS {
     public static String AbcdImportProvider_description;
 
     public static String AvailableAreaVocabulariesPage_PAGE_DESCRIPTION;
-
-
     public static String AvailableAreaVocabulariesPage_PAGE_TITLE;
 
-
     public static String AvailableDistributionPage_CHECK_MESSAGE;
-
-
     public static String AvailableDistributionPage_PAGE_DESCRIPTION;
-
-
     public static String AvailableDistributionPage_PAGE_TITLE;
 
 
@@ -601,7 +452,6 @@ public class Messages extends NLS {
     public static String CheckBoxTreeComposite_TOGGLE_TREE_SELECTION;
 
 
-    public static String ChecklistEditorGeneralPreference_3;
     public static String ChecklistEditorGeneralPreference_enable;
     public static String GeneralPreference_allowOverride;
     public static String ChecklistEditorGeneralPreference_open_distribution_selection;
@@ -645,15 +495,9 @@ public class Messages extends NLS {
 
     public static String SpecimenConfiguration_description;
 
-
     public static String DatabasePreferncesPage_Show_IOMenu;
 
-
     public static String Distribution_status_selection;
-
-
-
-
     public static String DistributionAdminPreferences_SELECT_STATUS;
 
 
@@ -672,6 +516,10 @@ public class Messages extends NLS {
     public static String GeneralPreference_override;
 
 
+    public static String MediaPreferences_advanced;
+    public static String MediaPreferences_preview;
+
+
 
 
 
@@ -685,19 +533,6 @@ public class Messages extends NLS {
     public static String PublishFlagPreference_description_not_allowed;
 
 
-
-
-
-
-
-
-
-
-
-
-
-
-
     static {
         // initialize resource bundle
         NLS.initializeMessages(BUNDLE_NAME, Messages.class);
index 16b27327914905bf2937634ba31102158aac5a91..d188ebd612b4efa507b8bc9741032fc7dfb52a01 100644 (file)
@@ -13,14 +13,16 @@ LanguageEditorPreferencePage_ChooseDefaultLanguage=Please choose your default la
 LanguageEditorPreferencePage_EditorHasToRestart=The application has to be restarted, in order to complete the language switch.\nDo you want to restart now?
 LanguageEditorPreferencePage_PleaseRestart=Please Restart
 LanguageEditorPreferencePage_RestartRequired=After changing the default language, a restart is required,\nin order for the new settings to take effect.
+LanguageRepresentationPreferencePage_global=Choose the global language that will be used throughout the editor to get representations in.
+LanguageRepresentationPreferencePage_enable=Enable Multiple Language Editing Capability
 ListComponent_ADD_PROVIDER=Add Provider
 ListComponent_NO_PROVIDER_AVAILABLE=No Providers available
 ListComponent_REMOVE_PROVIDER=Remove Provider
 OpenCommonNameAreaWizardAdminHandler_COMMON_NAMES=Common Names
 OpenDistributionEditorWizardHandlerAdminE4_DISTRIBUTION=Distribution
 OpenDistributionEditorWizardHandlerE4_DISTRIBUTION=Distribution
-OrderPreferencePage_NewNavigatorWindowRequired=After changing the order of the taxon nodes, closing and reopen of the taxon navigator is required.
-OrderPreferencePage_PleaseReopenNavigator=Please close and reopen the taxon navigator.
+OrderPreferences_Restore=Restore the last Taxon Navigator state.
+OrderPreferences_Sorting=Sorting
 DatabaseRepairPage_chooseParameter=Please choose the trees where the sortIndex should be recalculated.
 DatabaseRepairPage_updateTaxonNodes=Taxonomic Tree
 DatabaseRepairPage_toolTip_taxonNode=The sort indexes of the taxonomic tree will be recalculated.
@@ -150,11 +152,19 @@ PasswordWizardPage_REPEAT_PASSWORD=Repeat Password
 SearchManager_LARGE_RESULT_EXPECTED=Large result expected
 SearchManager_LONG_SEARCH_WARNING=The current search will return %s objects. This will take a long time and/or might render the editor unusable. Please consider refining your search.\nSearch anyway?
 
+SupplementalDataPreferences_0=Show UUID and object ID in supplemental data view
 SupplementalDataViewPart_VIEWER_NAME=Supplemental Data
+
 DefinedTermDropAdapterE4_MOVE_DESCRIPTIONS=Move Terms
 DefinedTermDropAdapterE4_MOVE_FAILED=Move failed
 DefinedTermDropAdapterE4_MOVE_FAILED_MESSAGE=Cannot move term onto itself or its children
 DefinedTermDropAdapterE4_MOVE_FAILED_SAVE_MESSAGE=Moving the term failed. Try saving before.
+
+DebugPreferences_0=Show up widget is disposed error messages.
+DebugPreferences_1=Disable services api timestamp check
+DefaultFeatureTreePreferenecs_0=Default Feature Tree to be used for textual descriptions
+DefaultFeatureTreePreferenecs_1=Default Feature Tree to be used for structured descriptions
+
 DefinedTermEditorE4_SAVE_MESSAGE=You have made changes that must be saved before this query can be executed. Would you like to save?
 DefinedTermEditorE4_SAVE_TITLE=Save changes
 DefinedTermMenu_FEATURE_TREE=Feature Tree
@@ -233,6 +243,8 @@ ImportFromFileAndChooseVocIdWizardPage_AreaVoc=Area Vocabulary
 ImportFromFileAndChooseVocIdWizardOage_AreaVoc_toolTip=Please choose a vocabulary for the used areas.
 ExcelDistributionUpdateWizard_ConfiguratorWizard_label=Configure Excel distribution update
 AbstractImportWizard_ConfigurationLabel=Configure the Import
+TaxonomicEditorGeneralPreferences_0=Run long running operations in background
+TaxonomicEditorGeneralPreferences_1=Connect to last used datasource when launching
 TCSImportWizard_ConfiguratorWizard_label=Configure the TCS import
 FeatureTreeEditorComposite_ADD_FEATURE=Add a feature to this feature tree.
 FeatureTreeEditorComposite_FEATURE_TREE=Feature Tree
@@ -283,6 +295,7 @@ SetPublishConfiguration_IncludeSynonyms=Synonyms
 
 ExcelSpecimenUpdateWizard_ConfiguratorWizard_label=Configuration of excel specimen import
 ExcelTaxonUpdateWizard_ConfiguratorWizard_label=Configuration of excel taxon import
+ExperimentalFeaturesPreferences=Show experimental features
 
 SetPublishConfiguration_Title=Configuration for setting the publish flag
 SetPublishConfiguration_publish=publish
@@ -398,14 +411,26 @@ Distribution_status_selection=Status Selection
 DatabasePreferncesPage_Show_MediaView=Show Media View
 DatabasePreferncesPage_Show_ChecklistPerspective=Show Checklist Perspective as default Perspective
 DatabasePreferncesPage_Show_TaxonNodeWizard=Taxon Nodes can be edited in Wizard
+
 DistributionAdminPreferences_SELECT_STATUS=List of available distribution status
 
+MediaPreferences_advanced=Show Advanced Media View in Details View
+MediaPreferences_preview=Show Preview in Media View (Tree View)
+
+
 ToggleableText_ToolTip_closed=Cache is created automatically from atomized data, cache protected against manual entries
 ToggleableText_ToolTip_open=Cache can be edited manually, editing the atomized data has no effect on the cache (not recommended)
 
+
 FeatureTreeDropAdapter_CHOOSE_VOC=Choose vocabulary for import
 FeatureTreeDropAdapter_IMPORT_NOT_POSSIBLE=Import not possible
 FeatureTreeDropAdapter_MOVE_FAILED_SAVE_MESSAGE=Moving the feature node failed. Try saving before.
 FeatureTreeDropAdapter_ONLY_MOVE_FEATURES=Can only move features to feature trees
 FeatureTreeDropAdapter_ORDER_VOC_NOT_POSSIBLE=The chosen vocabulary is an ordered vocabulary.\nImporting into ordered vocabularies is currently not supported.
 
+
+DefaultFeatureTreePreferenecs_0=Default Feature Tree to be used for textual descriptions
+DefaultFeatureTreePreferenecs_1=Default Feature Tree to be used for structured descriptions
+DescriptionPreferences_1=Show vocabulary id for term labels.
+SupplementalDataPreferences_0=Show UUID and object ID in supplemental data view
+
index d2f8bb94bcb5bfe9bbc0637d3a6c35c4ee9b3a5b..cea9779a79afb3e021cf52d2ef00d5c9d8315942 100644 (file)
@@ -409,3 +409,20 @@ FeatureTreeDropAdapter_MOVE_FAILED_SAVE_MESSAGE=Verschieben des Merkmalsknoten f
 FeatureTreeDropAdapter_ONLY_MOVE_FEATURES=Es ist nur möglich, Merkmale auf Merkmalsbäume zu verschieben.
 FeatureTreeDropAdapter_ORDER_VOC_NOT_POSSIBLE=Das gewählte Vokabular ist ein geordnetes Vokabular.\nImporte in geordnete Vokabulare sind aktuell nich unterstützt.
 
+DebugPreferences_0=Zeige \"Widget is disposed\" Fehler Meldungen.
+DebugPreferences_1=Deaktiviere die Ãœberprüfung des API Timestamp
+
+DefaultFeatureTreePreferenecs_0=Default Merkmalsbaum für textuelle Faktendaten
+DefaultFeatureTreePreferenecs_1=Default Merkmalsbaum für strukturelle Faktendaten
+DescriptionPreferences_1=Zeige Vokabular ID im Label von Termen.
+SupplementalDataPreferences_0=Zeige UUID und Objekt ID unter Zusatzdaten
+MediaPreferences_advanced=Zeige erweiterten Media View im Details View
+MediaPreferences_preview=Zeige Vorschau im Media View (Baumansicht)
+ExperimentalFeaturesPreferences=Zeige experimentelle Features
+
+LanguageRepresentationPreferencePage_global=Wählen Sie die Sprache, für die im gesamten Editor die Repräsentationen ausgewählt werden sollen (sofern vorhanden).
+LanguageRepresentationPreferencePage_enable=Aktiviere mehrsprachige Editierbarkeit
+
+OrderPreferences_Restore=Stelle den letzten Navigator Status wieder her.
+OrderPreferences_Sorting=Sortierung
+
index bbaed72df4a8521b3760fc495263175bee01aab5..395183c0eb4d97034870d4202c34d68f1680e841 100644 (file)
@@ -10,6 +10,7 @@ package eu.etaxonomy.taxeditor.preference;
 
 import org.eclipse.jface.preference.BooleanFieldEditor;
 
+import eu.etaxonomy.taxeditor.l10n.Messages;
 import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
 
 /**
@@ -22,10 +23,10 @@ public class DebugPreferences extends FieldEditorPreferencePageE4 {
     @Override
     protected void createFieldEditors() {
         addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.IS_SHOW_UP_WIDGET_IS_DISPOSED),
-                "Show up widget is disposed error messages.",
+                Messages.DebugPreferences_0,
                 getFieldEditorParent()));
         addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.DISABLE_SERVICES_API_TIMESTAMP_CHECK),
-                "Disable services api timestamp check",
+                Messages.DebugPreferences_1,
                 getFieldEditorParent()));
 
     }
index fee1fbc50bfd8ab3cfc47122358b0b21ea13dea6..93245b042817d888fbd857e842b4dad57d4b0fc5 100644 (file)
@@ -27,6 +27,7 @@ import eu.etaxonomy.cdm.api.service.IFeatureTreeService;
 import eu.etaxonomy.cdm.model.description.FeatureTree;
 import eu.etaxonomy.taxeditor.featuretree.FeatureTreeContentProvider;
 import eu.etaxonomy.taxeditor.featuretree.FeatureTreeLabelProvider;
+import eu.etaxonomy.taxeditor.l10n.Messages;
 import eu.etaxonomy.taxeditor.model.MessagingUtils;
 import eu.etaxonomy.taxeditor.preference.menu.CdmPreferencePage;
 import eu.etaxonomy.taxeditor.store.CdmStore;
@@ -63,7 +64,7 @@ public class DefaultFeatureTreePreferenecs extends CdmPreferencePage {
 
        private void createTextTreeSelection(Composite parent){
                final CLabel label = new CLabel(parent, SWT.NONE);
-               label.setText("Default Feature Tree to be used for textual descriptions");
+               label.setText(Messages.DefaultFeatureTreePreferenecs_0);
 
                final ListViewer viewer = new ListViewer(parent);
                viewer.getControl().setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
@@ -94,7 +95,7 @@ public class DefaultFeatureTreePreferenecs extends CdmPreferencePage {
 
        private void createStructureTreeSelection(Composite parent){
                final CLabel label = new CLabel(parent, SWT.NONE);
-               label.setText("Default Feature Tree to be used for structured descriptions");
+               label.setText(Messages.DefaultFeatureTreePreferenecs_1);
 
                final ListViewer viewer = new ListViewer(parent);
                viewer.getControl().setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
@@ -126,8 +127,8 @@ public class DefaultFeatureTreePreferenecs extends CdmPreferencePage {
        /** {@inheritDoc} */
        @Override
        public boolean performOk() {
-               String defaultFeatureTreeForTextualDescriptionUuid = "";
-               String defaultFeatureTreeForStructuredDescriptionUuid = "";
+               String defaultFeatureTreeForTextualDescriptionUuid = ""; //$NON-NLS-1$
+               String defaultFeatureTreeForStructuredDescriptionUuid = ""; //$NON-NLS-1$
 
                if(defaultFeatureTreeForTextualDescription != null){
                        defaultFeatureTreeForTextualDescriptionUuid = defaultFeatureTreeForTextualDescription.getUuid().toString();
index 24656dc52e010ec8677e89ba32677f6e31ffa7b7..c814faf3feec975c59f6715d09c5e05b51eb26a4 100644 (file)
@@ -11,6 +11,7 @@ package eu.etaxonomy.taxeditor.preference;
 
 import org.eclipse.jface.preference.BooleanFieldEditor;
 
+import eu.etaxonomy.taxeditor.l10n.Messages;
 import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
 
 /**
@@ -23,13 +24,13 @@ import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
 public class DescriptionPreferences extends FieldEditorPreferencePageE4 {
 
        /** Constant <code>PLUGIN_ID="eu.etaxonomy.taxeditor.preferences.desc"{trunked}</code> */
-       public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.preferences.description";
+       public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.preferences.description"; //$NON-NLS-1$
 
        @Override
        protected void createFieldEditors() {
 
            addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_VOCABULARY_ID_FOR_TERM_LABELS),
-                   "Show vocabulary id for term labels.",
+                   Messages.DescriptionPreferences_1,
                 getFieldEditorParent()));
        }
 }
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/ExperimentalFeaturesPreferences.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/ExperimentalFeaturesPreferences.java
new file mode 100755 (executable)
index 0000000..7f48390
--- /dev/null
@@ -0,0 +1,34 @@
+/**
+* Copyright (C) 2019 EDIT
+* 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.
+*/
+package eu.etaxonomy.taxeditor.preference;
+
+import org.eclipse.jface.preference.BooleanFieldEditor;
+
+import eu.etaxonomy.taxeditor.l10n.Messages;
+import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
+
+/**
+ * @author k.luther
+ * @since 18.01.2019
+ *
+ */
+public class ExperimentalFeaturesPreferences extends FieldEditorPreferencePageE4 {
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected void createFieldEditors() {
+        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
+                IPreferenceKeys.SHOW_EXPERIMENTAL_FEATURES),
+                Messages.ExperimentalFeaturesPreferences, getFieldEditorParent()));
+
+    }
+
+}
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/ExternalServicesPreferences.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/ExternalServicesPreferences.java
new file mode 100755 (executable)
index 0000000..6352f0c
--- /dev/null
@@ -0,0 +1,49 @@
+/**
+* Copyright (C) 2019 EDIT
+* 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.
+*/
+package eu.etaxonomy.taxeditor.preference;
+
+import org.eclipse.jface.preference.IntegerFieldEditor;
+import org.eclipse.jface.preference.StringFieldEditor;
+
+import eu.etaxonomy.taxeditor.databaseAdmin.wizard.SpacerFieldEditor;
+import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
+
+/**
+ * @author k.luther
+ * @since 18.01.2019
+ *
+ */
+public class ExternalServicesPreferences extends FieldEditorPreferencePageE4 {
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected void createFieldEditors() {
+        addField(new StringFieldEditor(
+                PreferencesUtil.createPreferenceString(IPreferenceKeys.OPENURL_ACCESS_POINT),
+                "Mobot Open Url Service Access Point:", getFieldEditorParent()));
+        addField(new IntegerFieldEditor(
+                PreferencesUtil.createPreferenceString(IPreferenceKeys.OPENURL_IMAGE_MAX_WIDTH),
+                "Image Maximum Width:",
+                getFieldEditorParent()));
+        addField(new IntegerFieldEditor(
+                PreferencesUtil.createPreferenceString(IPreferenceKeys.OPENURL_IMAGE_MAX_HEIGHT),
+                "Image Maximum Height:",
+                getFieldEditorParent()));
+        SpacerFieldEditor spacer1 = new SpacerFieldEditor(
+                getFieldEditorParent());
+
+        addField(new StringFieldEditor(PreferencesUtil.createPreferenceString(
+                IPreferenceKeys.EDIT_MAP_SERVICE_ACCES_POINT),
+                "EDIT Map Service Access Point:", getFieldEditorParent()));
+
+    }
+
+}
index c3541ce50b597fcf9c8d9bf3b03d89872d205c69..aa7057e6e54d100a4ec2617292a7f5940f722fc3 100644 (file)
@@ -23,6 +23,7 @@ import org.eclipse.swt.widgets.Control;
 import org.eclipse.swt.widgets.Label;
 
 import eu.etaxonomy.cdm.model.common.Language;
+import eu.etaxonomy.taxeditor.l10n.Messages;
 import eu.etaxonomy.taxeditor.preference.menu.CdmPreferencePage;
 import eu.etaxonomy.taxeditor.store.CdmStore;
 
@@ -71,7 +72,7 @@ public class LanguageRepresentationPreferencePage extends CdmPreferencePage{
                composite.setLayout(new RowLayout(1));
 
                final Label label = new Label(composite, SWT.NONE);
-               label.setText("Choose the global language that will be used throughout the editor to get representations in.");
+               label.setText(Messages.LanguageRepresentationPreferencePage_global);
 
                final Combo combo_globalLanguage = new Combo(composite, SWT.NONE);
 
@@ -108,7 +109,7 @@ public class LanguageRepresentationPreferencePage extends CdmPreferencePage{
                final Button button_toggle = new Button(composite, SWT.CHECK);
 
 
-               button_toggle.setText("Enable Multiple Language Editing Capability");
+               button_toggle.setText(Messages.LanguageRepresentationPreferencePage_enable);
 
                button_toggle.setSelection(isMultilanguageTextEditingCapability);
 
index 21255cd0f6a4884aba69445089c263650a292a8e..0d7508adbe00734b105719b957ef4f82d86d5e35 100644 (file)
@@ -10,6 +10,7 @@ package eu.etaxonomy.taxeditor.preference;
 
 import org.eclipse.jface.preference.BooleanFieldEditor;
 
+import eu.etaxonomy.taxeditor.l10n.Messages;
 import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
 
 /**
@@ -22,10 +23,10 @@ public class MediaPreferences extends FieldEditorPreferencePageE4 {
     @Override
     protected void createFieldEditors() {
         addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_ADVANCED_MEDIA_SECTION),
-                "Show Advanced Media Section",
+                Messages.MediaPreferences_advanced,
                 getFieldEditorParent()));
         addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_MEDIA_PREVIEW),
-                "Show Preview in Media View",
+                Messages.MediaPreferences_preview,
                 getFieldEditorParent()));
 
     }
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/NamePreferences.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/NamePreferences.java
new file mode 100755 (executable)
index 0000000..f691dce
--- /dev/null
@@ -0,0 +1,32 @@
+/**
+* Copyright (C) 2019 EDIT
+* 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.
+*/
+package eu.etaxonomy.taxeditor.preference;
+
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+
+import eu.etaxonomy.taxeditor.preference.menu.CdmPreferencePage;
+
+/**
+ * @author k.luther
+ * @since 18.01.2019
+ *
+ */
+public class NamePreferences extends CdmPreferencePage {
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Control createContents(Composite parent) {
+        noDefaultAndApplyButton();
+        return null;
+    }
+
+}
index 3e64b0be4ff133622699411c355e68f667dd7ef0..3378377d1f4387f8364782223f1ef9c717684d8d 100644 (file)
@@ -34,7 +34,7 @@ public class OrderPreferences extends CdmPreferencePage implements SelectionList
             secondComposite.setLayout(new GridLayout());\r
 \r
             final Button activateRestoreNavigatorButton = new Button(secondComposite, SWT.CHECK | SWT.LEFT);\r
-            activateRestoreNavigatorButton.setText("Restore the last Taxon Navigator state.");\r
+            activateRestoreNavigatorButton.setText(Messages.OrderPreferences_Restore);\r
             activateRestoreNavigatorButton.setSelection(isRestoreTaxonNavigator);\r
             activateRestoreNavigatorButton.addSelectionListener(new SelectionAdapter(){\r
                 @Override\r
@@ -53,7 +53,7 @@ public class OrderPreferences extends CdmPreferencePage implements SelectionList
                composite.setLayout(new GridLayout());\r
 \r
                Label label = new Label(composite, SWT.NONE);\r
-               label.setText("Sorting");\r
+               label.setText(Messages.OrderPreferences_Sorting);\r
 \r
                GridData gridData = new GridData();\r
             gridData = new GridData(GridData.BEGINNING, GridData.CENTER, true, false);\r
@@ -83,7 +83,7 @@ public class OrderPreferences extends CdmPreferencePage implements SelectionList
             orderSelectionCombo.addSelectionListener(this);\r
 \r
             final Label description = new Label(parent, SWT.NONE);\r
-            description.setText(Messages.OrderPreferencePage_NewNavigatorWindowRequired);\r
+            description.setText(""); //$NON-NLS-1$\r
 \r
                return composite;\r
            }\r
@@ -94,7 +94,7 @@ public class OrderPreferences extends CdmPreferencePage implements SelectionList
                    if (this.orderActivated != null){\r
                    PreferencesUtil.setSortNodes(this.orderActivated);\r
                PreferencesUtil.setStoreNavigatorState(isRestoreTaxonNavigator);\r
-               MessageDialog.openInformation(getShell(), null, Messages.OrderPreferencePage_PleaseReopenNavigator);\r
+               MessageDialog.openInformation(getShell(), null, ""); //$NON-NLS-1$\r
                    }\r
                        return super.performOk();\r
 \r
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/SearchDialogPreferences.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/SearchDialogPreferences.java
new file mode 100755 (executable)
index 0000000..7ac7107
--- /dev/null
@@ -0,0 +1,49 @@
+/**
+* Copyright (C) 2018 EDIT
+* 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.
+*/
+package eu.etaxonomy.taxeditor.preference;
+
+import org.eclipse.jface.preference.BooleanFieldEditor;
+
+import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
+
+/**
+ * @author k.luther
+ * @since 16.10.2018
+ *
+ */
+public class SearchDialogPreferences extends FieldEditorPreferencePageE4 {
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected void createFieldEditors() {
+        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_ID_IN_ENTITY_SELECTION_DIAOLOG),
+                "Show object id in entity selection dialogs",
+                getFieldEditorParent()));
+        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.IS_SEARCH_FOR_IDENTIFIER_AS_DEFAULT),
+                "Set search for Identifier as default.",
+                getFieldEditorParent()));
+        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SEARCH_FOR_IDENTIFIER_AND_TITLECACHE),
+                "Search for identifier and titleCache, if identifier search is enabled",
+                getFieldEditorParent()));
+
+        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SORT_TAXA_BY_RANK_AND_NAME),
+                "In selection dialogs for taxa, sort by rank and name",
+                getFieldEditorParent()));
+        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
+                IPreferenceKeys.FILTER_COMMON_NAME_REFERENCES),
+                "Filter common name references", getFieldEditorParent()));
+
+
+
+
+    }
+
+}
index 0b7a80e9267fa123fe80f985e219db4f12340087..3a35cd4f258bc4d1a45ead14980377505851d431 100755 (executable)
@@ -1,5 +1,5 @@
 /**
-* Copyright (C) 2018 EDIT
+* Copyright (C) 2019 EDIT
 * European Distributed Institute of Taxonomy
 * http://www.e-taxonomy.eu
 *
@@ -8,34 +8,25 @@
 */
 package eu.etaxonomy.taxeditor.preference;
 
-import org.eclipse.jface.preference.BooleanFieldEditor;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
 
-import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
+import eu.etaxonomy.taxeditor.preference.menu.CdmPreferencePage;
 
 /**
  * @author k.luther
- * @since 16.10.2018
+ * @since 18.01.2019
  *
  */
-public class SearchPreferences extends FieldEditorPreferencePageE4 {
+public class SearchPreferences extends CdmPreferencePage {
 
     /**
      * {@inheritDoc}
      */
     @Override
-    protected void createFieldEditors() {
-
-        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.IS_SEARCH_FOR_IDENTIFIER_AS_DEFAULT),
-                "Set search for Identifier as default.",
-                getFieldEditorParent()));
-        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SEARCH_FOR_IDENTIFIER_AND_TITLECACHE),
-                "Search for identifier and titleCache, if identifier search is enabled",
-                getFieldEditorParent()));
-
-
-
-
-
+    protected Control createContents(Composite parent) {
+        // TODO Auto-generated method stub
+        return null;
     }
 
 }
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/SupplementalDataPreferences.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/SupplementalDataPreferences.java
new file mode 100755 (executable)
index 0000000..b3831ff
--- /dev/null
@@ -0,0 +1,33 @@
+/**
+* Copyright (C) 2019 EDIT
+* 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.
+*/
+package eu.etaxonomy.taxeditor.preference;
+
+import org.eclipse.jface.preference.BooleanFieldEditor;
+
+import eu.etaxonomy.taxeditor.l10n.Messages;
+import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
+
+/**
+ * @author k.luther
+ * @since 18.01.2019
+ *
+ */
+public class SupplementalDataPreferences extends FieldEditorPreferencePageE4 {
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected void createFieldEditors() {
+        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_DEBUG_INFORMATION),
+                Messages.SupplementalDataPreferences_0,
+                getFieldEditorParent()));
+    }
+
+}
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TaxonPreferences.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TaxonPreferences.java
new file mode 100755 (executable)
index 0000000..2374423
--- /dev/null
@@ -0,0 +1,32 @@
+/**
+* Copyright (C) 2019 EDIT
+* 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.
+*/
+package eu.etaxonomy.taxeditor.preference;
+
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+
+import eu.etaxonomy.taxeditor.preference.menu.CdmPreferencePage;
+
+/**
+ * @author k.luther
+ * @since 18.01.2019
+ *
+ */
+public class TaxonPreferences extends CdmPreferencePage {
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Control createContents(Composite parent) {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+}
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TaxonSearchPreferences.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/TaxonSearchPreferences.java
new file mode 100755 (executable)
index 0000000..ad7dc4b
--- /dev/null
@@ -0,0 +1,33 @@
+/**
+* Copyright (C) 2019 EDIT
+* 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.
+*/
+package eu.etaxonomy.taxeditor.preference;
+
+import org.eclipse.jface.preference.BooleanFieldEditor;
+
+import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
+
+/**
+ * @author k.luther
+ * @since 18.01.2019
+ *
+ */
+public class TaxonSearchPreferences extends FieldEditorPreferencePageE4{
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected void createFieldEditors() {
+        addField(new BooleanFieldEditor(IPreferenceKeys.SEARCH_OPEN_RESULTS_IN_SEPARATE_WINDOWS,
+                "Open search results in separate windows",
+                getFieldEditorParent()));
+
+    }
+
+}
index 9282817cde295626dfddd20140ffd5ebc01e2b4e..24b8d03d2923bc705e320fd5b8a7000bc751883a 100644 (file)
@@ -10,7 +10,6 @@
 package eu.etaxonomy.taxeditor.preference;
 
 import org.eclipse.jface.preference.BooleanFieldEditor;
-import org.eclipse.jface.preference.StringFieldEditor;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.layout.GridData;
 import org.eclipse.swt.layout.RowLayout;
@@ -18,6 +17,7 @@ import org.eclipse.swt.widgets.Composite;
 import org.eclipse.ui.internal.IPreferenceConstants;
 import org.eclipse.ui.internal.Workbench;
 
+import eu.etaxonomy.taxeditor.l10n.Messages;
 import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
 
 /**
@@ -37,39 +37,39 @@ public class TaxonomicEditorGeneralPreferences extends
        @Override
        protected void createFieldEditors() {
            runInBackgroundEditor = new BooleanFieldEditor(IPreferenceConstants.RUN_IN_BACKGROUND,
-                   "Run long running operations in background",
+                   Messages.TaxonomicEditorGeneralPreferences_0,
                    getFieldEditorParent());
         addField(runInBackgroundEditor);
 
-               addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_DEBUG_INFORMATION),
-                               "Show UUID and object ID in supplemental data view",
-                               getFieldEditorParent()));
-               addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_ID_IN_ENTITY_SELECTION_DIAOLOG),
-                       "Show object id in entity selection dialogs",
-                       getFieldEditorParent()));
-               addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
-                               IPreferenceKeys.SHOULD_EXPAND_SECTION_WHEN_DATA_AVAILABLE),
-                               "Should expand sections when data is available (Details View). This might make the Editor slow.",
-                               getFieldEditorParent()));
-               addField(new StringFieldEditor(PreferencesUtil.createPreferenceString(
-                               IPreferenceKeys.EDIT_MAP_SERVICE_ACCES_POINT),
-                               "EDIT Map Service Access Point:", getFieldEditorParent()));
+//             addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_DEBUG_INFORMATION),
+//                             "Show UUID and object ID in supplemental data view",
+//                             getFieldEditorParent()));
+//             addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_ID_IN_ENTITY_SELECTION_DIAOLOG),
+//                     "Show object id in entity selection dialogs",
+//                     getFieldEditorParent()));
+//             addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
+//                             IPreferenceKeys.SHOULD_EXPAND_SECTION_WHEN_DATA_AVAILABLE),
+//                             "Should expand sections when data is available (Details View). This might make the Editor slow.",
+//                             getFieldEditorParent()));
+//             addField(new StringFieldEditor(PreferencesUtil.createPreferenceString(
+//                             IPreferenceKeys.EDIT_MAP_SERVICE_ACCES_POINT),
+//                             "EDIT Map Service Access Point:", getFieldEditorParent()));
                addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
                                IPreferenceKeys.SHOULD_CONNECT_AT_STARTUP),
-                               "Connect to last used datasource when launching",
+                               Messages.TaxonomicEditorGeneralPreferences_1,
                                getFieldEditorParent()));
-               addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
-                               IPreferenceKeys.SHOW_EXPERIMENTAL_FEATURES),
-                               "Show experimental features", getFieldEditorParent()));
-               addField(new BooleanFieldEditor(IPreferenceKeys.SEARCH_OPEN_RESULTS_IN_SEPARATE_WINDOWS,
-                       "Open search results in separate windows",
-                       getFieldEditorParent()));
-               addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SORT_TAXA_BY_RANK_AND_NAME),
-                "In selection dialogs for taxa, sort by rank and name",
-                getFieldEditorParent()));
-               addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
-                IPreferenceKeys.FILTER_COMMON_NAME_REFERENCES),
-                "Filter common name references", getFieldEditorParent()));
+//             addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
+//                             IPreferenceKeys.SHOW_EXPERIMENTAL_FEATURES),
+//                             "Show experimental features", getFieldEditorParent()));
+//             addField(new BooleanFieldEditor(IPreferenceKeys.SEARCH_OPEN_RESULTS_IN_SEPARATE_WINDOWS,
+//                     "Open search results in separate windows",
+//                     getFieldEditorParent()));
+//             addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SORT_TAXA_BY_RANK_AND_NAME),
+//                "In selection dialogs for taxa, sort by rank and name",
+//                getFieldEditorParent()));
+//             addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
+//                IPreferenceKeys.FILTER_COMMON_NAME_REFERENCES),
+//                "Filter common name references", getFieldEditorParent()));
 
                Composite composite = new Composite(getFieldEditorParent(), SWT.NULL);
         composite.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false, 2, 1));
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/UIPreferences.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/UIPreferences.java
new file mode 100755 (executable)
index 0000000..4382be5
--- /dev/null
@@ -0,0 +1,34 @@
+/**
+* Copyright (C) 2019 EDIT
+* 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.
+*/
+package eu.etaxonomy.taxeditor.preference;
+
+import org.eclipse.jface.preference.BooleanFieldEditor;
+
+import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
+
+/**
+ * @author k.luther
+ * @since 18.01.2019
+ *
+ */
+public class UIPreferences extends FieldEditorPreferencePageE4 {
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected void createFieldEditors() {
+        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
+                IPreferenceKeys.SHOULD_EXPAND_SECTION_WHEN_DATA_AVAILABLE),
+                "Expand sections when data are available in Details View. This might make the Editor slow.",
+                getFieldEditorParent()));
+
+    }
+
+}