tabbed_properties branch merged into trunk completely
[taxeditor.git] / taxeditor-store / plugin.xml
index 4328e18c217c0a599665e7b026e791d2bb1827eb..bb422c9056125751423ee9446342b985e029c226 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 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.description"
-            class="eu.etaxonomy.taxeditor.preference.LanguageMenuPreferences"
+            class="eu.etaxonomy.taxeditor.preference.menu.LanguageMenuPreferences"
             id="eu.etaxonomy.taxeditor.preferences.languages"
             name="Languages">
       </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
+            class="eu.etaxonomy.taxeditor.preference.menu.MarkerTypeMenuPreferences"
+            id="eu.etaxonomy.taxeditor.preferences.markerTypes"
+            name="Marker Types">
+      </page>
+      <page
+            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
+            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">
+      </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>
    </extension>
    <extension
          point="org.eclipse.ui.views">
    <extension
          point="org.eclipse.ui.menus">
       <menuContribution
-            locationURI="menu:org.eclipse.ui.main.menu">
+            locationURI="menu:org.eclipse.ui.main.menu.window">
          <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>
-               <command
-                     commandId="eu.etaxonomy.taxeditor.store.operations.showUserManagerView"
-                     label="User Manager"
-                     style="push">
-               </command>
-            </menu>
+               id="eu.etaxonomy.taxeditor.menu.showView"
+               label="Show View">
             <command
-                  commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
-                  label="Login"
+                  commandId="eu.etaxonomy.taxeditor.store.operations.showDatasourceView"
+                  label="Datasource"
+                  style="push">
+            </command>
+            <command
+                  commandId="eu.etaxonomy.taxeditor.store.operations.showUserManagerView"
+                  label="User Manager"
                   style="push">
             </command>
          </menu>
+         <command
+               commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
+               label="Login"
+               style="push">
+         </command>
       </menuContribution>
       <menuContribution
             locationURI="popup:eu.etaxonomy.taxeditor.store.datasource.datasourceView">
                label="Delete"
                style="push">
          </command>
-      </menuContribution>
-      <menuContribution
-            locationURI="menu:org.eclipse.ui.main.menu?before=eu.etaxonomy.taxeditor.navigation.separator">
-         <command
-               commandId="org.eclipse.ui.file.import"
-               label="Import..."
-               style="push">
-         </command>
+         <separator
+               name="eu.etaxonomy.taxeditor.store.datasource.separator2"
+               visible="true">
+         </separator>
          <command
-               commandId="org.eclipse.ui.file.export"
-               label="Export..."
+               commandId="eu.etaxonomy.taxeditor.store.datasource.close"
+               label="Close Active Connection"
                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.user.AuthenticatedUserBar">
-            </control>
-         </toolbar>
-      </menuContribution>
       <menuContribution
             locationURI="popup:eu.etaxonomy.taxeditor.store.userManagerView">
          <command
                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.user.AuthenticatedUserBar">
+            </control>
+         </toolbar>
+      </menuContribution>
    </extension>
    <extension
          name="Window Menu Commands"
             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>
    </extension>
    <extension
          point="org.eclipse.ui.commands">
       </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>
    </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"
+            class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
             id="eu.etaxonomy.taxeditor.io.export.excel"
             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="org.eclipse.ui.views.ProgressView">  
                </view>  
        </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.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.colorCompositeBackground"
+               label="Composite Background"
+               value="250, 250, 250">
+         </colorDefinition>
+         <colorDefinition
+               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
+               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorCompositeSelected"
+               label="Composite Selected"
+               value="210, 210, 210">
+         </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>
+      </extension>
        
 </plugin>