ref #7005 i18n + remove e3 Excel distribution wizard
[taxeditor.git] / eu.etaxonomy.taxeditor.store / plugin.xml
index a4044a6fe350a8e9b4c4b5989c903b25d285af22..3b1293ef711e0f6b15a77f3012302f568e94399b 100755 (executable)
             id="eu.etaxonomy.taxeditor.preferences.typeDesignation"
             name="%page.name.25">
       </page>
-     <!-- <page
+      <page
             category="eu.etaxonomy.taxeditor.preferences.general"
             class="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
             id="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
             name="%page.name.26">
-      </page>-->
+      </page>
       <page
             category="eu.etaxonomy.taxeditor.preferences.general"
             class="eu.etaxonomy.taxeditor.preference.MediaPreferences"
             name="%page.name.34">
       </page>
    </extension>
-   <extension
-         point="org.eclipse.ui.views">
-      <view
-            class="eu.etaxonomy.taxeditor.view.datasource.CdmDataSourceViewPart"
-            icon="icons/system-file-manager.png"
-            id="eu.etaxonomy.taxeditor.view.datasource"
-            name="%view.name"
-            restorable="true">
-      </view>
-      <view
-        allowMultiple="true"
-        class="eu.etaxonomy.taxeditor.view.dataimport.SpecimenImportView"
-        id="eu.etaxonomy.taxeditor.view.dataimport.SpecimenImportView"
-        name="%view.name.7">
-         </view>
-         <view
-        allowMultiple="true"
-        class="eu.etaxonomy.taxeditor.view.dataimport.GbifResponseImportView"
-        id="eu.etaxonomy.taxeditor.view.dataimport.GbifResponseImportView"
-        name="%view.name.8">
-         </view>
-      <view  
-                       name="%view.name.0"  
-                       category="org.eclipse.ui"  
-                       class="org.eclipse.ui.ExtensionFactory:progressView"  
-                       id="org.eclipse.ui.views.ProgressView">  
-               </view>
-               <view  
-                       name="%view.name.1"  
-                       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.view.reporting.ReportingViewPart"
-        id="eu.etaxonomy.taxeditor.reporting.viewPart"
-        name="%view.name.2"
-        restorable="true">
-  </view>
-  <view
-        allowMultiple="false"
-        class="eu.etaxonomy.taxeditor.view.supplementaldata.SupplementalDataViewPart"
-        icon="icons/applications-office.png"
-        id="eu.etaxonomy.taxeditor.view.supplementalData"
-        name="%view.name.3"
-        restorable="true">
-  </view>
-  <view
-        class="eu.etaxonomy.taxeditor.view.userecords.UseRecordsViewPart"
-        icon="icons/leaf_detail.png"
-        id="eu.etaxonomy.taxeditor.view.userecords"
-        name="%view.name.5"
-        restorable="true">
-  </view>
-   </extension>
-   <extension
-         point="org.eclipse.ui.editors">
-      <editor
-            class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermEditor"
-            default="false"
-            id="eu.etaxonomy.taxeditor.editor.definedTerm"
-            name="%editor.name">
-      </editor>
-   </extension>
    <extension
          point="org.eclipse.ui.menus">
-      <menuContribution 
-         allPopups="false" 
-                 locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last"> 
-           <dynamic 
-                    class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenu" 
-                   id="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenu"> 
-              <visibleWhen 
-                      checkEnabled="true"> 
-                  <reference 
-                        definitionId="isCdmStoreConnected"> 
-                  </reference> 
-             </visibleWhen> 
-        </dynamic> 
-      </menuContribution>
       <menuContribution
             locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
          <command
                visible="true">
          </separator>
       </menuContribution>
-      <menuContribution
-            locationURI="popup:eu.etaxonomy.taxeditor.view.datasource">
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.datasource.change"
-               label="%command.label.6"
-               style="push">
-               <visibleWhen>
-                  <not>
-                     <reference
-                           definitionId="hasDataModel">
-                     </reference>
-                  </not>
-            </visibleWhen>
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.datasource.create"
-               label="%command.label.7"
-               style="push">
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.datasource.edit"
-               label="%command.label.8"
-               style="push">
-                <visibleWhen>
-              <with
-                        variable="selection">
-                        <not>
-                               <test
-                                       property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
-                               </test>
-                       </not>
-                       </with>
-            </visibleWhen>
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.datasource.clone"
-               label="%command.label.clone"
-               style="push">
-                <visibleWhen>
-              <with
-                        variable="selection">
-                        <not>
-                               <test
-                                       property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
-                               </test>
-                       </not>
-                       </with>
-            </visibleWhen>
-         </command>
-         <separator
-               name="eu.etaxonomy.taxeditor.store.datasource.separator"
-               visible="true">
-         </separator>
-         <command
-               commandId="eu.etaxonomy.taxeditor.view.datasource.delete"
-               label="%command.label.9"
-               style="push">
-               <visibleWhen>
-              <with
-                        variable="selection">
-                        <not>
-                               <test
-                                       property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
-                               </test>
-                       </not>
-                       </with>
-            </visibleWhen>
-         </command>
-         <separator
-               name="eu.etaxonomy.taxeditor.store.datasource.separator2"
-               visible="true">
-         </separator>
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.datasource.update"
-               label="%command.label.11"
-               style="push">
-            <visibleWhen
-                  checkEnabled="true">
-               <not>
-                  <reference
-                        definitionId="isCompatible">
-                  </reference>
-               </not>
-            </visibleWhen>
-            
-         </command>
-      </menuContribution>
       <menuContribution
             locationURI="toolbar:org.eclipse.ui.trim.status">
          <toolbar
             </control>
          </toolbar>
       </menuContribution>
-      <menuContribution
-            locationURI="popup:eu.etaxonomy.taxeditor.editor.definedTerm">
-         <menu
-               label="%menu.label.0">
-            <command
-                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
-                  label="%command.label.12"
-                  style="push">
-            </command>
-            <command
-                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
-                  label="%command.label.13"
-                  style="push">
-               <visibleWhen
-                     checkEnabled="true">
-                  <reference
-                        definitionId="isModifiable">
-                  </reference>
-               </visibleWhen>
-            </command>
-            <command
-                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newKindOfTerm"
-                  label="Kind Of Term"
-                  style="push">
-               <visibleWhen
-                     checkEnabled="true">
-                  <reference
-                        definitionId="isShowExperimentalFeatures">
-                  </reference>
-               </visibleWhen>
-            </command>
-         </menu>
-         <command
-               commandId="eu.etaxonomy.taxeditor.editor.definedTerms.delete"
-               label="%command.label.14"
-               style="push">
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isModifiable">
-               </reference>
-            </visibleWhen>
-         </command>
-      </menuContribution>
    </extension>
    <extension
          point="org.eclipse.ui.handlers">
    <extension
          name="%extension.name.0"
          point="org.eclipse.ui.commands">
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
-            id="eu.etaxonomy.taxeditor.store.datasource.change"
-            name="%command.name">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.EditDataSourceHandler"
-            id="eu.etaxonomy.taxeditor.store.datasource.edit"
-            name="%command.name.0">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloneDataSourceHandler"
-            id="eu.etaxonomy.taxeditor.store.datasource.clone"
-            name="%command.name.8">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
-            id="eu.etaxonomy.taxeditor.store.datasource.create"
-            name="%command.name.1">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
-            id="eu.etaxonomy.taxeditor.view.datasource.delete"
-            name="%command.name.13">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.UpdateDataSourceHandler"
-            id="eu.etaxonomy.taxeditor.store.datasource.update"
-            name="%command.name.3">
-      </command>
       <command
             defaultHandler="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
             id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
             id="eu.etaxonomy.taxeditor.store.operations.reconnect"
             name="%command.name.RE_CONNECT">
       </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
-            id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
-            name="%command.name.5">
-         <commandParameter
-               id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid"
-               name="%commandParameter.name.0"
-               optional="true">
-         </commandParameter>
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
-            id="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
-            name="%command.name.6">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
-            id="eu.etaxonomy.taxeditor.editor.definedTerms.newKindOfTerm"
-            name="New kind-of term">
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateTermVocabularyHandler"
-            id="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
-            name="%command.name.7">
-      </command>
       <command
             id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
             name="%command.name.10">
             id="eu.etaxonomy.taxeditor.datasource.connect"
             name="%command.name.12">
       </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
-            id="eu.etaxonomy.taxeditor.editor.definedTerms.delete"
-            name="%command.name.14">
-      </command>
       <command
             defaultHandler="eu.etaxonomy.taxeditor.handler.OpenInspectSessionsHandler"
             id="eu.etaxonomy.taxeditor.store.open.InspectSessionsDialog"
             id="eu.etaxonomy.taxeditor.store.open"
             name="%command.name.15">
       </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenClassificationWizardHandler"
-            id="eu.etaxonomy.taxeditor.command.openClassificationWizard"
-            name="%command.name.OPEN_CLASSIFICATION_WIZARD">
-         <commandParameter
-               id="eu.etaxonomy.taxeditor.command.openClassificationWizard.uuid"
-               name="Classification Uuid"
-               optional="true"
-               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
-         </commandParameter>
-      </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenTaxonNodeWizardHandler"
-            id="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard"
-            name="%command.name.OPEN_TAXONNODE_WIZARD">
-         <commandParameter
-               id="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard.uuid"
-               name="TaxonNode Uuid"
-               optional="true"
-               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
-         </commandParameter>
-      </command>
    </extension>
    <extension
          point="org.eclipse.ui.commands">
             id="eu.etaxonomy.taxeditor.io.import.tcs"
             name="%wizard.name">
       </wizard>
-       <wizard
-            category="eu.etaxonomy.taxeditor.import.category.cdm"
-            class="eu.etaxonomy.taxeditor.view.dataimport.SpecimenSearchWizard"
-            id="eu.etaxonomy.taxeditor.view.dataimport.SpecimenSearchWizard"
-            name="%wizard.name.21">
-            <description>
-                %wizard.description
-            </description>
-        </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="%wizard.name.2">
-      </wizard>
-      <wizard
-            category="eu.etaxonomy.taxeditor.import.category.cdm"
-            class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
-            id="eu.etaxonomy.taxeditor.io.import.abcd"
-            name="%wizard.name.3">
-      </wizard>
-       <wizard
-            category="eu.etaxonomy.taxeditor.import.category.cdm"
-            class="eu.etaxonomy.taxeditor.io.wizard.ExcelDistributionUpdateWizard"
-            id="eu.etaxonomy.taxeditor.io.import.excelDistribution"
-            name="%wizard.name.23">
-          <enabledWhen>
-            <reference
-                  definitionId="isShowExperimentalFeatures">
-            </reference></enabledWhen>
       </wizard>
        <wizard
             category="eu.etaxonomy.taxeditor.import.category.cdm"
    </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">
+         id="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
+         namespace="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
+         properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
+         type="java.lang.Object">
    </propertyTester>
    <propertyTester
          class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
    </definition>
    <definition
          id="isShowExperimentalFeatures">
-      <with
-            variable="selection">
-         <test
-               property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
-         </test>
-      </with>
+      <test
+            property="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester.isShowExperimentalFeatures">
+      </test>
    </definition>
    <definition
          id="isModifiable">
             </reference>
          </and>
       </definition>
+      <definition
+            id="isChecklistEditorEnabled">
+         <test
+               property="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester.isChecklistEditorEnabled">
+         </test>
+      </definition>
 </extension>
 <extension
       point="org.eclipse.ui.activities">
       point="eu.etaxonomy.taxeditor.store.cdmViewer">
    <viewCommandMapping
          commandId="eu.etaxonomy.taxeditor.command.openClassificationWizard"
-         selection="eu.etaxonomy.cdm.model.taxon.Classification"
+         selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
          viewerName="%viewCommandMapping.viewerName.CLASSIFICATION_WIZARD">
    </viewCommandMapping>
    <viewCommandMapping