ref #7421 continue refactor verbatim date sections and elements
[taxeditor.git] / eu.etaxonomy.taxeditor.store / plugin.xml
index a5287f9622c2d373b6268008d4649acb585002c4..e693d7d3bc4d7b658ee7d6e5c7a7c4ac542b17c8 100755 (executable)
@@ -2,53 +2,10 @@
 <?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.adminPreferencePage" name="%extension-point.name.1" schema="schema/eu.etaxonomy.taxeditor.store.adminPreferencePage.exsd"/>
    <extension
          point="org.eclipse.ui.menus">
-      <menuContribution
-            locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
-               label="%command.label.CONNECT"
-               style="push">
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
-               label="%command.label.5"
-               style="push">
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isUserLoggedIn">
-               </reference>
-            </visibleWhen>
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.operations.reconnect"
-               label="%command.label.RE_CONNECT"
-               style="push">
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isUserLoggedIn">
-               </reference>
-            </visibleWhen>
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
-               label="%command.label.CHANGE_PASSWORD"
-               style="push">
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isUserLoggedIn">
-               </reference>
-            </visibleWhen>
-         </command>
-         <separator
-               name="eu.etaxonomy.taxeditor.application.filemenu.login"
-               visible="true">
-         </separator>
-      </menuContribution>
       <menuContribution
             locationURI="toolbar:org.eclipse.ui.trim.status">
          <toolbar
          </toolbar>
       </menuContribution>
    </extension>
-   <extension
-         point="org.eclipse.ui.handlers">
-      <handler
-            class="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
-            commandId="eu.etaxonomy.taxeditor.view.datasource.delete">
-         <activeWhen>
-            <with
-                  variable="activePartId">
-               <equals
-                     value="eu.etaxonomy.taxeditor.view.datasource">
-               </equals>
-            </with>
-         </activeWhen>
-      </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.handler.ShowRemotingLoginWindowHandler"
-            commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow">
-      </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.handler.OpenPasswordWizzardHandler"
-            commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard">
-         <enabledWhen>
-            <reference
-                  definitionId="isUserLoggedIn">
-            </reference></enabledWhen>
-      </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.handler.OpenDistributionEditorWizardHandler"
-            commandId="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler">
-         <activeWhen>
-            <reference
-                  definitionId="hasROLE_PROJECT_MANAGER">
-            </reference>
-         </activeWhen>
-      </handler>
-       <handler
-            class="eu.etaxonomy.taxeditor.handler.OpenImportPreferenceHandler"
-            commandId="eu.etaxonomy.taxeditor.store.open.OpenImportPreferenceHandler">
-            <activeWhen>
-            <reference
-                  definitionId="hasROLE_PROJECT_MANAGER">
-            </reference>
-         </activeWhen>
-      </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.handler.SwitchUserHandler"
-            commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
-         <activeWhen>
-            <reference
-                  definitionId="isRemoting">
-            </reference>
-         </activeWhen>
-      </handler>
-   </extension>
-   <extension
-         name="%extension.name.0"
-         point="org.eclipse.ui.commands">
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
-            id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
-            name="%command.name.4">
-      </command>
-      <command
-            id="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
-            name="%command.name.CONNECT">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.handler.ReconnectHandler"
-            id="eu.etaxonomy.taxeditor.store.operations.reconnect"
-            name="%command.name.RE_CONNECT">
-      </command>
-      <command
-            id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
-            name="%command.name.10">
-      </command>
-      <command
-            id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
-            name="%command.name.11">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
-            id="eu.etaxonomy.taxeditor.datasource.connect"
-            name="%command.name.12">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenInspectSessionsHandler"
-            id="eu.etaxonomy.taxeditor.store.open.InspectSessionsDialog"
-            name="%command.name.INSPECT_ACTIVE_SESSIONS">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenHandler"
-            id="eu.etaxonomy.taxeditor.store.open"
-            name="%command.name.15">
-      </command>
-   </extension>
-   <extension
-         point="org.eclipse.ui.commands">
-      <commandParameterType
-            converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
-            id="eu.etaxonomy.taxeditor.uuidParameterType"
-            type="java.util.UUID">
-      </commandParameterType>
-      <commandParameterType
-            converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
-            id="eu.etaxonomy.taxeditor.uuidsParameterType"
-            type="java.util.List">
-      </commandParameterType>
-   </extension>
    <extension
          point="org.eclipse.ui.newWizards">
       <wizard
             name="%wizard.name.17">
       </wizard>
    </extension>
-<extension
-            point="org.eclipse.ui.themes">
-         <themeElementCategory
-               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
-               label="%themeElementCategory.label">
-            <description>
-               %themeElementCategory.description
-            </description>
-         </themeElementCategory>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
-               label="%colorDefinition.label"
-               value="150,150,150">
-         </colorDefinition>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
-               label="%colorDefinition.label.0"
-               value="0,0,0">
-         </colorDefinition>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
-               label="%colorDefinition.label.1"
-               value="255,255,255">
-         </colorDefinition>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
-               label="%colorDefinition.label.2"
-               value="241,139,18">
-         </colorDefinition>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
-               label="%colorDefinition.label.3"
-               value="150,150,150">
-         </colorDefinition>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
-               label="%colorDefinition.label.4"
-               value="230,230,230">
-         </colorDefinition>
-         <themeElementCategory
-               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
-               label="%themeElementCategory.label.0"
-               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
-            <description>
-               %themeElementCategory.description.0
-            </description>
-         </themeElementCategory>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
-               label="%colorDefinition.label.5"
-               value="230,230,230">
-         </colorDefinition>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
-               label="%colorDefinition.label.6"
-               value="255,255,255">
-         </colorDefinition>
-         <themeElementCategory
-               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
-               label="%themeElementCategory.label.1"
-               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
-            <description>
-               %themeElementCategory.description.1
-            </description>
-         </themeElementCategory>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
-               label="%colorDefinition.label.7"
-               value="220, 220, 220">
-         </colorDefinition>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
-               label="%colorDefinition.label.8"
-               value="232,242,254">
-         </colorDefinition>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
-               label="%colorDefinition.label.9"
-               value="210, 210, 210">
-         </colorDefinition>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
-               label="%colorDefinition.label.10"
-               value="185,255,133">
-         </colorDefinition>
-         <fontDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
-               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
-               label="%fontDefinition.label"
-               value="Georgia-regular-12">
-         </fontDefinition>
-         <fontDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
-               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
-               label="%fontDefinition.label.0"
-               value="Georgia-regular-10">
-         </fontDefinition>
-         <fontDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
-               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
-               label="%fontDefinition.label.1"
-               value="Georgia-regular-10">
-         </fontDefinition>
-         <fontDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
-               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
-               label="%fontDefinition.label.2"
-               value="Georgia-regular-10">
-         </fontDefinition>
-         <fontDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
-               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
-               label="%fontDefinition.label.3"
-               value="Georgia-regular-10">
-         </fontDefinition>
-         <themeElementCategory
-               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
-               label="%themeElementCategory.label.2"
-               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
-            <description>
-               %themeElementCategory.description.2
-            </description>
-         </themeElementCategory>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
-               label="%colorDefinition.label.11"
-               value="192, 192, 192">
-         </colorDefinition>
-         <colorDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
-               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
-               label="%colorDefinition.label.12"
-               value="0, 0, 0">
-         </colorDefinition>
-         <fontDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
-               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
-               isEditable="true"
-               label="%fontDefinition.label.4"
-               value="Arial-regular-10">
-            <description>
-               %fontDefinition.description
-            </description>
-         </fontDefinition>
-         <fontDefinition
-               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
-               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
-               isEditable="true"
-               label="%fontDefinition.label.5"
-               value="Arial-italic-10">
-         <description>
-            %fontDefinition.description.0
-         </description>
-      </fontDefinition>
-      <fontDefinition
-            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
-            id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
-            isEditable="true"
-            label="%fontDefinition.label.6"
-            value="Lucida Grande-regular-11">
-         <description>
-            %fontDefinition.description.1
-         </description>
-      </fontDefinition>
-      <colorDefinition
-            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
-            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
-            label="%colorDefinition.label.13"
-            value="255,0,0">
-      </colorDefinition>
-      <colorDefinition
-            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
-            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
-            label="%colorDefinition.label.14"
-            value="105,114,124">
-      </colorDefinition>
-      <colorDefinition
-            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
-            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
-            label="%colorDefinition.label.15"
-            value="255,0,0">
-      </colorDefinition>
-      </extension>
 <extension
       point="org.eclipse.core.expressions.propertyTesters">
    <propertyTester
    </fragment>
 </extension>
 <extension
-      point="org.eclipse.ui.preferencePages">
-   <page
+      point="eu.etaxonomy.taxeditor.store.preferencePage">
+<page
          category="eu.etaxonomy.taxeditor.preferences.general"
          class="eu.etaxonomy.taxeditor.preference.DebugPreferences"
          id="eu.etaxonomy.taxeditor.preference.DebugPreferences"
          name="%page.name.32">
    </page>
 </extension>
+<extension
+      point="eu.etaxonomy.taxeditor.store.adminPreferencePage">
+   <!-- <page
+         class="eu.etaxonomy.taxeditor.preference.TaxonomicEditorGeneralAdminPreferences"
+         id="eu.etaxonomy.taxeditor.preferences.general"
+         name="%page.name">
+   </page>  -->
+   <page 
+         category="eu.etaxonomy.taxeditor.preferences.general"
+         class="eu.etaxonomy.taxeditor.databaseAdmin.preferencePage.ChecklistEditorGeneralPreference"
+         id="eu.etaxonomy.taxeditor.store.checklist"
+         name="%page.name.21">
+   </page>
+   <page
+         category="eu.etaxonomy.taxeditor.preferences.general"
+         class="eu.etaxonomy.taxeditor.databaseAdmin.preferencePage.AbcdImportPreference"
+         id="eu.etaxonomy.taxeditor.store.abcdImportPreference"
+         name="%page.name.40">
+   </page>
+   <page
+         category="eu.etaxonomy.taxeditor.store.abcdImportPreference"
+         class="eu.etaxonomy.taxeditor.databaseAdmin.preferencePage.AbcdImportProvider"
+         id="eu.etaxonomy.taxeditor.store.abcdImportProvider"
+         name="%page.name.41">
+   </page>
+    <page
+         category="eu.etaxonomy.taxeditor.preferences.general"
+         class="eu.etaxonomy.taxeditor.databaseAdmin.preferencePage.SpecimenAdminPreferences"
+         id="eu.etaxonomy.taxeditor.store.specimenAdminPreferences"
+         name="%page.name.45">
+   </page>
+   <page
+        
+         class="eu.etaxonomy.taxeditor.databaseAdmin.preferencePage.PublishFlagPreference"
+         id="eu.etaxonomy.taxeditor.preferences.general"
+         name="%page.name.42">
+   </page>
+   
+   <page
+         category="eu.etaxonomy.taxeditor.preferences.general"
+         class="eu.etaxonomy.taxeditor.databaseAdmin.preferencePage.NomenclaturalCodePreferences"
+         id="eu.etaxonomy.taxeditor.store.page2"
+         name="%page.name.43">
+   </page>
+   <page
+         category="eu.etaxonomy.taxeditor.preferences.general"
+         class="eu.etaxonomy.taxeditor.databaseAdmin.preferencePage.NameDetailsViewConfiguration"
+         id="eu.etaxonomy.taxeditor.store.page3"
+         name="%page.name.44">
+   </page>
+</extension>
 </plugin>