Started refactoring user and group functionality
[taxeditor.git] / taxeditor-store / plugin.xml
index c515e0b3418d0b51d0e7e1576e55f0e86a43756e..925ef36ef368f6396e63bfbc6154aa2678774ea0 100644 (file)
@@ -4,23 +4,30 @@
    <extension
          point="org.eclipse.ui.preferencePages">
       <page
+            class="eu.etaxonomy.taxeditor.preference.TaxonomicEditorGeneralPreferences"
+            id="eu.etaxonomy.taxeditor.preferences.general"
+            name="Taxonomic Editor">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.general"
             class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
             id="eu.etaxonomy.taxeditor.preferences.description"
             name="Description">
       </page>
       <page
             category="eu.etaxonomy.taxeditor.preferences.description"
-            class="eu.etaxonomy.taxeditor.preference.FeatureMenuPreferences"
+            class="eu.etaxonomy.taxeditor.preference.menu.FeatureMenuPreferences"
             id="eu.etaxonomy.taxeditor.preferences.feature"
             name="Features">
       </page>
       <page
             category="eu.etaxonomy.taxeditor.preferences.description"
-            class="eu.etaxonomy.taxeditor.preference.DistributionStatusMenuPreferences"
+            class="eu.etaxonomy.taxeditor.preference.menu.PresenceAbsenceMenuPreferences"
             id="eu.etaxonomy.taxeditor.preferences.distributionStatus"
             name="Distribution Status">
       </page>
       <page
+            category="eu.etaxonomy.taxeditor.preferences.general"
             class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
             id="eu.etaxonomy.taxeditor.preferences.taxonomic"
             name="Taxonomic">
       </page-->
       <page
             category="eu.etaxonomy.taxeditor.preferences.taxonomic"
-            class="eu.etaxonomy.taxeditor.preference.RankMenuPreferences"
+            class="eu.etaxonomy.taxeditor.preference.menu.RankMenuPreferences"
             id="eu.etaxonomy.taxeditor.preferences.ranks"
             name="Ranks">
       </page>
       <page
             category="eu.etaxonomy.taxeditor.preferences.taxonomic"
-            class="eu.etaxonomy.taxeditor.preference.NomenclaturalStatusTypeMenuPreferences"
+            class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalStatusTypeMenuPreferences"
             id="eu.etaxonomy.taxeditor.preferences.nomenclaturalStatusType"
             name="Nomenclatural Status Type">
       </page>
       <page
             category="eu.etaxonomy.taxeditor.preferences.taxonomic"
-            class="eu.etaxonomy.taxeditor.preference.NameRelationshipTypeMenuPreferences"
+            class="eu.etaxonomy.taxeditor.preference.menu.NameRelationshipTypeMenuPreferences"
             id="eu.etaxonomy.taxeditor.preferences.nameRelationshipType"
             name="Name Relationship Type">
       </page>
       <page
             category="eu.etaxonomy.taxeditor.preferences.taxonomic"
-            class="eu.etaxonomy.taxeditor.preference.TaxonRelationshipTypeMenuPreferences"
+            class="eu.etaxonomy.taxeditor.preference.menu.TaxonRelationshipTypeMenuPreferences"
             id="taxeditor-store.page1"
-            name="Taxon Realationship Type">
+            name="Taxon Relationship Type">
       </page>
       <page
             category="eu.etaxonomy.taxeditor.preferences.taxonomic"
-            class="eu.etaxonomy.taxeditor.preference.SpecimenTypeDesignationStatusMenuPreferences"
+            class="eu.etaxonomy.taxeditor.preference.menu.SpecimenTypeDesignationStatusMenuPreferences"
             id="eu.etaxonomy.taxeditor.preferences.specimenTypeDesignationStatus"
             name="Specimen Type Designation Status">
       </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.language"
+            class="eu.etaxonomy.taxeditor.preference.menu.LanguageMenuPreferences"
+            id="eu.etaxonomy.taxeditor.preferences.languages"
+            name="Available Languages">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.general"
+            class="eu.etaxonomy.taxeditor.preference.menu.MarkerTypeMenuPreferences"
+            id="eu.etaxonomy.taxeditor.preferences.markerTypes"
+            name="Marker Types">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.general"
+            class="eu.etaxonomy.taxeditor.preference.menu.ExtensionTypeMenuPreferences"
+            id="eu.etaxonomy.taxeditor.preferences.extensionTypes"
+            name="Extension Types">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
+            class="eu.etaxonomy.taxeditor.preference.menu.NameTypeDesignationStatusMenuPreferences"
+            id="eu.etaxonomy.taxeditor.preferences.nameTypeDesignationStatus"
+            name="Name Type Designation Status">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.description"
+            class="eu.etaxonomy.taxeditor.preference.menu.NamedAreaTypeMenuPreferences"
+            id="eu.etaxonomy.taxeditor.preferences.namedAreaType"
+            name="Named Area Type">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.general"
+            class="eu.etaxonomy.taxeditor.preference.MatchingPreferences"
+            id="eu.etaxonomy.taxeditor.preferences.matching"
+            name="Matching (Experimental)">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.matching"
+            class="eu.etaxonomy.taxeditor.preference.matching.NonViralNameMatchingPreference"
+            id="eu.etaxonomy.taxeditor.preferences.matching.nonViralName"
+            name="NonViralName Matching Strategy">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.matching"
+            class="eu.etaxonomy.taxeditor.preference.matching.ReferenceMatchingPreference"
+            id="eu.etaxonomy.taxeditor.preferences.matching"
+            name="Reference Matching Strategy">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.matching"
+            class="eu.etaxonomy.taxeditor.preference.matching.TeamOrPersonMatchingPreference"
+            id="eu.etaxonomy.taxeditor.preferences.matching"
+            name="Team or Person Matching Strategy">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.description"
+            class="eu.etaxonomy.taxeditor.preference.menu.StageMenuPreferences"
+            id="eu.etaxonomy.taxeditor.preferences.stage"
+            name="Stage">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.description"
+            class="eu.etaxonomy.taxeditor.preference.menu.PreservationMethodMenuPreferences"
+            id="eu.etaxonomy.taxeditor.preferences.preservationMethod"
+            name="Preservation Method">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.feature"
+            class="eu.etaxonomy.taxeditor.preference.FeatureTreePreferences"
+            id="eu.etaxonomy.taxeditor.preferences.featureTree"
+            name="Feature Tree">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.feature"
+            class="eu.etaxonomy.taxeditor.preference.DefaultFeatureTreePreferenecs"
+            id="eu.etaxonomy.taxeditor.preferences.defaultFeatureTreePreferenecs"
+            name="Default Feature Trees">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.general"
+            class="eu.etaxonomy.taxeditor.preference.LanguagePreferencePage"
+            id="eu.etaxonomy.taxeditor.preferences.language"
+            name="Language">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.general"
+            class="eu.etaxonomy.taxeditor.preference.MobotOpenUrlPreferences"
+            id="eu.etaxonomy.taxeditor.preferences.mobotOpenUrl"
+            name="Mobot Open Url">
+      </page>
    </extension>
    <extension
          point="org.eclipse.ui.views">
       <view
-            class="eu.etaxonomy.taxeditor.datasource.view.CdmDataSourceView"
+            class="eu.etaxonomy.taxeditor.datasource.view.CdmDataSourceViewPart"
+            icon="icons/system-file-manager.png"
             id="eu.etaxonomy.taxeditor.store.datasource.datasourceView"
             name="Datasource"
             restorable="true">
       </view>
+      <view
+            class="eu.etaxonomy.taxeditor.account.user.view.UserView"
+            icon="icons/system-users.png"
+            id="eu.etaxonomy.taxeditor.store.userManagerView"
+            name="User"
+            restorable="true">
+      </view>
+      <view
+            class="eu.etaxonomy.taxeditor.account.group.view.GroupView"
+            id="eu.etaxonomy.taxeditor.store.groupView"
+            name="Group"
+            restorable="true">
+      </view>
+      <view  
+                       name="Progress View"  
+                       category="org.eclipse.ui"  
+                       class="org.eclipse.ui.ExtensionFactory:progressView"  
+                       id="org.eclipse.ui.views.ProgressView">  
+               </view>
+               <view  
+                       name="Message View"  
+                       icon="icons/console.gif"  
+                       category="org.eclipse.ui"  
+                       class="org.eclipse.ui.ExtensionFactory:logView"  
+                       id="org.eclipse.ui.views.LogView">  
+               </view>
+  <view
+        class="eu.etaxonomy.taxeditor.reporting.ReportingViewPart"
+        id="eu.etaxonomy.taxeditor.reporting.viewPart"
+        name="Reporting"
+        restorable="true">
+  </view>
    </extension>
    <extension
          point="org.eclipse.ui.menus">
       <menuContribution
-            locationURI="menu:org.eclipse.ui.main.menu">
+            locationURI="menu:org.eclipse.ui.main.menu.window?before=taxeditor-application.windowMenu.last">
          <menu
-               id="org.eclipse.ui.main.menu.window"
-               label="Window">
-            <menu
-                  id="eu.etaxonomy.taxeditor.menu.showView"
-                  label="Show View">
-               <command
-                     commandId="eu.etaxonomy.taxeditor.store.operations.showDatasourceView"
-                     label="Datasource"
-                     style="push">
-               </command>
-            </menu>
+               id="eu.etaxonomy.taxeditor.menu.showView"
+               label="Show View">
+            <separator
+                  name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
+                  visible="true">
+            </separator>
+            <command
+                  commandId="org.eclipse.ui.views.showView"
+                  label="Datasource"
+                  style="push">
+               <parameter
+                     name="org.eclipse.ui.views.showView.viewId"
+                     value="eu.etaxonomy.taxeditor.store.datasource.datasourceView">
+               </parameter>
+            </command>
+            <command
+                  commandId="org.eclipse.ui.views.showView"
+                  label="Users"
+                  style="push">
+               <parameter
+                     name="org.eclipse.ui.views.showView.viewId"
+                     value="eu.etaxonomy.taxeditor.store.userManagerView">
+               </parameter>
+            </command>
+            <command
+                  commandId="org.eclipse.ui.views.showView"
+                  label="Messages"
+                  style="push">
+               <parameter
+                     name="org.eclipse.ui.views.showView.viewId"
+                     value="org.eclipse.pde.runtime.LogView">
+               </parameter>
+            </command>
+            <command
+                  commandId="org.eclipse.ui.views.showView"
+                  label="Reporting"
+                  style="push">
+               <parameter
+                     name="org.eclipse.ui.views.showView.viewId"
+                     value="eu.etaxonomy.taxeditor.reporting.viewPart">
+               </parameter>
+               <visibleWhen
+                     checkEnabled="true">
+                  <reference
+                        definitionId="isShowExperimentalFeatures">
+                  </reference>
+               </visibleWhen>
+            </command>
+            <command
+                  commandId="org.eclipse.ui.views.showView"
+                  label="Groups"
+                  style="push">
+               <parameter
+                     name="org.eclipse.ui.views.showView.viewId"
+                     value="eu.etaxonomy.taxeditor.store.groupView">
+               </parameter>
+            </command>
          </menu>
       </menuContribution>
+      <menuContribution
+            locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
+         <command
+               commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
+               label="Login"
+               style="push">
+         </command>
+         <separator
+               name="eu.etaxonomy.taxeditor.application.filemenu.login"
+               visible="true">
+         </separator>
+      </menuContribution>
       <menuContribution
             locationURI="popup:eu.etaxonomy.taxeditor.store.datasource.datasourceView">
          <command
                label="Delete"
                style="push">
          </command>
+         <separator
+               name="eu.etaxonomy.taxeditor.store.datasource.separator2"
+               visible="true">
+         </separator>
+         <command
+               commandId="eu.etaxonomy.taxeditor.store.datasource.close"
+               label="Close Active Connection"
+               style="push">
+         </command>
+         <command
+               commandId="eu.etaxonomy.taxeditor.store.datasource.update"
+               label="Update"
+               style="push">
+            <visibleWhen
+                  checkEnabled="true">
+               <not>
+                  <reference
+                        definitionId="isCompatible">
+                  </reference>
+               </not>
+            </visibleWhen>
+         </command>
       </menuContribution>
       <menuContribution
-            locationURI="menu:org.eclipse.ui.main.menu?before=eu.etaxonomy.taxeditor.navigation.separator">
+            locationURI="popup:eu.etaxonomy.taxeditor.store.userManagerView">
          <command
-               commandId="org.eclipse.ui.file.import"
-               label="Import..."
+               commandId="eu.etaxonomy.taxeditor.store.createUser"
+               label="New"
                style="push">
          </command>
          <command
-               commandId="org.eclipse.ui.file.export"
-               label="Export..."
+               commandId="eu.etaxonomy.taxeditor.store.editUser"
+               label="Edit"
+               style="push">
+         </command>
+         <separator
+               name="eu.etaxonomy.taxeditor.store.userManager.separator"
+               visible="true">
+         </separator>
+         <command
+               commandId="eu.etaxonomy.taxeditor.store.disableUser"
+               label="Toggle Enablement"
                style="push">
          </command>
       </menuContribution>
+      <menuContribution
+            locationURI="toolbar:org.eclipse.ui.trim.status">
+         <toolbar
+               id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
+            <control
+                  class="eu.etaxonomy.taxeditor.account.user.AuthenticatedUserBar">
+            </control>
+         </toolbar>
+      </menuContribution>
    </extension>
    <extension
          name="Window Menu Commands"
          point="org.eclipse.ui.commands">
       <command
-            defaultHandler="eu.etaxonomy.taxeditor.handler.ShowDataSourceViewHandler"
-            id="eu.etaxonomy.taxeditor.store.operations.showDatasourceView"
-            name="Show Datasource View">
+            defaultHandler="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
+            id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
+            name="Show Login Window">
       </command>
    </extension>
    <extension
             id="eu.etaxonomy.taxeditor.store.datasource.delete"
             name="Delete Datasource">
       </command>
+      <command
+            defaultHandler="eu.etaxonomy.taxeditor.datasource.handler.CloseConnectionHandler"
+            id="eu.etaxonomy.taxeditor.store.datasource.close"
+            name="Close Active Connection">
+      </command>
+      <command
+            defaultHandler="eu.etaxonomy.taxeditor.datasource.handler.UpdateDataSourceHandler"
+            id="eu.etaxonomy.taxeditor.store.datasource.update"
+            name="Update Datasource">
+      </command>
    </extension>
    <extension
-         point="org.eclipse.ui.perspectiveExtensions">
-      <perspectiveExtension
-            targetID="eu.etaxonomy.taxeditor.application.perspective">
-         <view
-               id="eu.etaxonomy.taxeditor.store.datasource.datasourceView"
-               minimized="false"
-               ratio="0.8"
-               relationship="bottom"
-               relative="org.eclipse.ui.editorss"
-               visible="false">
-         </view>
-      </perspectiveExtension>
+         point="org.eclipse.ui.commands">
+      <command
+            defaultHandler="eu.etaxonomy.taxeditor.account.user.handler.CreateUserHandler"
+            id="eu.etaxonomy.taxeditor.store.createUser"
+            name="Create User">
+      </command>
+      <command
+            defaultHandler="eu.etaxonomy.taxeditor.account.user.handler.EditUserHandler"
+            id="eu.etaxonomy.taxeditor.store.editUser"
+            name="Edit User">
+      </command>
+      <command
+            defaultHandler="eu.etaxonomy.taxeditor.account.user.handler.ToggleUserEnablementHandler"
+            id="eu.etaxonomy.taxeditor.store.disableUser"
+            name="Toggle User Enablement">
+      </command>
    </extension>
    <extension
          point="org.eclipse.ui.importWizards">
       </category>
       <wizard
             category="eu.etaxonomy.taxeditor.import.category.cdm"
-            class="eu.etaxonomy.taxeditor.io.TcsImportWizard"
+            class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
             id="eu.etaxonomy.taxeditor.io.import.tcs"
             name="TCS">
       </wizard>
       <wizard
             category="eu.etaxonomy.taxeditor.import.category.cdm"
-            class="eu.etaxonomy.taxeditor.io.JaxbImportWizard"
-            id="eu.etaxonomy.taxeditor.io.import.excel"
+            class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
+            id="eu.etaxonomy.taxeditor.io.import.jaxb"
             name="JAXB">
       </wizard>
-      <category
-            id="eu.etaxonomy.taxeditor.import.category.excel"
-            name="Excel">
-      </category>
       <wizard
             category="eu.etaxonomy.taxeditor.import.category.cdm"
-            class="eu.etaxonomy.taxeditor.io.BerlinModelImportWizard"
+            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
             id="eu.etaxonomy.taxeditor.io.import.berlinModel"
             name="Berlin Model">
       </wizard>
+      <wizard
+            category="eu.etaxonomy.taxeditor.import.category.cdm"
+            class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
+            id="eu.etaxonomy.taxeditor.io.import.endnote"
+            name="Endnote">
+      </wizard>
+      <wizard
+            category="eu.etaxonomy.taxeditor.import.category.cdm"
+            class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
+            id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
+            name="Excel Normal Explicit Taxa">
+      </wizard>
+      <wizard
+            category="eu.etaxonomy.taxeditor.import.category.cdm"
+            class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
+            id="eu.etaxonomy.taxeditor.io.import.abcd"
+            name="ABCD">
+      </wizard>
+      <wizard
+            category="eu.etaxonomy.taxeditor.import.category.cdm"
+            class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
+            id="eu.etaxonomy.taxeditor.io.import.sdd"
+            name="SDD">
+      </wizard>
    </extension>
    <extension
          point="org.eclipse.ui.exportWizards">
       </category>
       <wizard
             category="eu.etaxonomy.taxeditor.export.category.cdm"
-            class="eu.etaxonomy.taxeditor.io.TcsExportWizard"
-            id="eu.etaxonomy.taxeditor.io.export.tcs"
-            name="TCS">
-      </wizard>
-      <wizard
-            category="eu.etaxonomy.taxeditor.export.category.cdm"
-            class="eu.etaxonomy.taxeditor.io.JaxbExportWizard"
-            id="eu.etaxonomy.taxeditor.io.export.excel"
+            class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
+            id="eu.etaxonomy.taxeditor.io.export.jaxb"
             name="JAXB">
       </wizard>
       <wizard
             category="eu.etaxonomy.taxeditor.export.category.cdm"
-            class="eu.etaxonomy.taxeditor.io.BerlinModelExportWizard"
+            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
             id="eu.etaxonomy.taxeditor.io.export.berlinModel"
             name="Berlin Model">
       </wizard>
             id="eu.etaxonomy.taxeditor.export.category.excel"
             name="Excel">
       </category>
+      <wizard
+            category="eu.etaxonomy.taxeditor.export.category.cdm"
+            class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
+            id="eu.etaxonomy.taxeditor.io.export.sdd"
+            name="SDD">
+      </wizard>
    </extension>
-       <extension
-        point="org.eclipse.ui.activities">
-     <activity
-           description="Test"
-           id="test.Export"
-           name="Test"/>
-     <activityPatternBinding
-           activityId="test.Export"
-           pattern="org\.eclipse\.ui\.wizard\.export\.*/org\.eclipse\.ui\.wizard\.import\.*"/>
-     <categoryActivityBinding
-           activityId="test.Export"
-           categoryId="test.category"/>
-     <category
-           id="test.category"
-           name="testCategory">
-     </category>
-       </extension>
-       <extension  
-               point="org.eclipse.ui.views">  
-               <view  
-                       name="Progress View"  
-                       icon="icons/pview.gif"  
-                       category="org.eclipse.ui"  
-                       class="org.eclipse.ui.ExtensionFactory:progressView"  
-                       id="org.eclipse.ui.views.ProgressView">  
-               </view>  
-       </extension>
- <extension
-       point="org.eclipse.debug.core.launchConfigurationTypes">
-    <launchConfigurationType
-          id="eu.etaxonomy.taxeditor.newInstance"
-          name="NewInstance">
-    </launchConfigurationType>
- </extension>  
+<extension
+            point="org.eclipse.ui.themes">
+         <themeElementCategory
+               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
+               label="Taxonomic Editor">
+            <description>
+               Color and font definitions for the EDIT Taxonomic Editor
+            </description>
+         </themeElementCategory>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
+               label="List Background"
+               value="150,150,150">
+         </colorDefinition>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
+               label="Global Text Color"
+               value="0,0,0">
+         </colorDefinition>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
+               label="Global Color Composite Background"
+               value="255,255,255">
+         </colorDefinition>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
+               label="Global Color Composite Irrelevant"
+               value="241,139,18">
+         </colorDefinition>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
+               label="Global Text Color Disabled"
+               value="150,150,150">
+         </colorDefinition>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
+               label="Global Background Color Disabled"
+               value="230,230,230">
+         </colorDefinition>
+         <themeElementCategory
+               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
+               label="Details View"
+               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
+            <description>
+               Colors and fonts for the details view
+            </description>
+         </themeElementCategory>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
+               label="Entity Element List Background Odd"
+               value="230,230,230">
+         </colorDefinition>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
+               label="Entity Element List Background Even"
+               value="255,255,255">
+         </colorDefinition>
+         <themeElementCategory
+               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
+               label="Name Editor"
+               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
+            <description>
+               Colors and fonts for the name editor
+            </description>
+         </themeElementCategory>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
+               label="Container Background"
+               value="220, 220, 220">
+         </colorDefinition>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
+               label="Container Selected Focus"
+               value="232,242,254">
+         </colorDefinition>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
+               label="Container Selected"
+               value="210, 210, 210">
+         </colorDefinition>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
+               label="Container Drag Enter"
+               value="185,255,133">
+         </colorDefinition>
+         <fontDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
+               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
+               label="Accepted Taxon Font"
+               value="Georgia-regular-12">
+         </fontDefinition>
+         <fontDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
+               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
+               label="Synonym Font"
+               value="Georgia-regular-10">
+         </fontDefinition>
+         <fontDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
+               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
+               label="Misapplication Font"
+               value="Georgia-regular-10">
+         </fontDefinition>
+         <fontDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
+               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
+               label="Concept Font"
+               value="Georgia-regular-10">
+         </fontDefinition>
+         <fontDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
+               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
+               label="Default Font"
+               value="Georgia-regular-10">
+         </fontDefinition>
+         <themeElementCategory
+               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
+               label="Search View"
+               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
+            <description>
+               Colors and fonts for the search view
+            </description>
+         </themeElementCategory>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
+               label="Search View Foreground"
+               value="192, 192, 192">
+         </colorDefinition>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
+               label="Search View Focus"
+               value="0, 0, 0">
+         </colorDefinition>
+         <fontDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
+               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
+               isEditable="true"
+               label="Accepted font"
+               value="Arial-regular-10">
+            <description>
+               The font that is used for accepted taxa in the search result list.
+            </description>
+         </fontDefinition>
+         <fontDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
+               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
+               isEditable="true"
+               label="Synonym font"
+               value="Arial-italic-10">
+         <description>
+            The font that is used for synonyms in the search result list.
+         </description>
+      </fontDefinition>
+      <fontDefinition
+            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
+            id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
+            isEditable="true"
+            label="Other font"
+            value="Lucida Grande-regular-11">
+         <description>
+            The font used by default in the search result list.
+         </description>
+      </fontDefinition>
+      <colorDefinition
+            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
+            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
+            label="Parse Error"
+            value="255,0,0">
+      </colorDefinition>
+      <colorDefinition
+            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
+            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
+            label="Disabled Name Editor Field"
+            value="105,114,124">
+      </colorDefinition>
+      </extension>
+<extension
+      point="org.eclipse.core.expressions.propertyTesters">
+   <propertyTester
+         class="eu.etaxonomy.taxeditor.datasource.handler.DataSourceMenuPropertyTester"
+         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
+         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
+         properties="isCompatible"
+         type="org.eclipse.jface.viewers.IStructuredSelection">
+   </propertyTester>
+   <propertyTester
+         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
+         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
+         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
+         properties="isShowExperimentalFeatures"
+         type="org.eclipse.jface.viewers.IStructuredSelection">
+   </propertyTester>
+</extension>
+<extension
+      point="org.eclipse.core.expressions.definitions">
+   <definition
+         id="isCompatible">
+      <with
+            variable="activeMenuSelection">
+         <test
+               property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
+         </test>
+      </with>
+   </definition>
+   <definition
+         id="isShowExperimentalFeatures">
+      <with
+            variable="activeMenuSelection">
+         <test
+               property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
+         </test>
+      </with>
+   </definition>
+</extension>
        
 </plugin>