tabbed_properties branch merged into trunk completely
[taxeditor.git] / taxeditor-store / plugin.xml
index 4b7e8f05544ed4e0c67e1eb48dfcdc042d817ac9..bb422c9056125751423ee9446342b985e029c226 100644 (file)
@@ -3,6 +3,11 @@
 <plugin>
    <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"
       </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-->
       <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.MarkerTypeMenuPreferences"
+            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.ExtensionTypeMenuPreferences"
+            class="eu.etaxonomy.taxeditor.preference.menu.ExtensionTypeMenuPreferences"
             id="eu.etaxonomy.taxeditor.preferences.extensionTypes"
             name="Extension Types">
       </page>
-      <page
-            class="eu.etaxonomy.taxeditor.preference.TaxonomicEditorGeneralPreferences"
-            id="eu.etaxonomy.taxeditor.preferences.general"
-            name="Taxonomic Editor">
-      </page>
       <page
             category="eu.etaxonomy.taxeditor.preferences.taxonomic"
-            class="eu.etaxonomy.taxeditor.preference.NameTypeDesignationStatusMenuPreferences"
+            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">
                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>
       </menuContribution>
       <menuContribution
             locationURI="popup:eu.etaxonomy.taxeditor.store.userManagerView">
             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">
       <wizard
             category="eu.etaxonomy.taxeditor.import.category.cdm"
             class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
-            id="eu.etaxonomy.taxeditor.io.import.excel"
+            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.wizard.BerlinModelImportWizard"
                        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>