- not running imports and exports deleted from menu
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / plugin.xml
index a1c1dce738f470bd83b10f004de3fda72f789a9f..267c86eb531a31efd416028ec0bd39d661a9f7d3 100644 (file)
             id="eu.etaxonomy.taxeditor.editor.group.authority"
             name="Cdm Authority Editor">
       </editor>
+      <editor
+            class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
+            default="false"
+            icon="icons/derivate_view-16x16-32.png"
+            id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
+            name="Derivate View">
+      </editor>
+      <editor
+            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
+            default="false"
+            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
+            name="Specimen Import Editor">
+      </editor>
+      <editor
+            class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
+            default="false"
+            id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
+            name="Gbif Import Editor">
+      </editor>
    </extension>
       <extension
             point="org.eclipse.ui.views">
@@ -67,7 +86,7 @@
                class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
                icon="icons/address-book-new.png"
                id="eu.etaxonomy.taxeditor.editor.view.descriptive"
-               name="Descriptive"
+               name="Factual Data"
                restorable="true">
          </view>
           <view
                name="Concept Graph"
                restorable="true">
          </view>
-         <view
-               allowMultiple="false"
-               category="eu.etaxonomy.taxeditor.editor.category"
-               class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
-               icon="icons/leaf_detail.png"
-               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
-               name="Derivate View"
-               restorable="true">
-         </view>
          <category
                id="eu.etaxonomy.taxeditor.editor.category"
                name="Taxonomic Editor">
       <menuContribution
             locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
          <command
-               commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
-               label="Reference"
+               commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
+               label="Name"
                style="push">
          </command>
          <command
-               commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
-               label="Name"
+               commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
+               label="Reference"
                style="push">
          </command>
          <command
                label="Person"
                style="push">
          </command>
+         <separator
+               name="eu.etaxonomy.navigation.menu.new.separator2"
+               visible="true">
+         </separator>
          <command
                commandId="eu.etaxonomy.taxeditor.editor.command.new.specimen"
                label="Specimen"
                style="push">
          </command>
+         <separator
+               name="eu.etaxonomy.navigation.menu.new.separator3"
+               visible="true">
+         </separator>
+         <command
+               commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
+               label="Datasource"
+               style="push">
+         </command>
       </menuContribution>
       <menuContribution
             locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
          </separator>
          <command
                commandId="org.eclipse.ui.views.showView"
-               label="Descriptive"
+               label="Factual Data"
                style="push">
             <parameter
                   name="org.eclipse.ui.views.showView.viewId"
                   name="separator1"
                   visible="true">
             </separator>
-            <command
+           <command
                   commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
                   label="Misapplication"
                   style="push">
                </visibleWhen>
             </command>
          </menu>
-         <command
+        <!--<command
                commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
                label="Change Accepted Taxon to Synonym"
                style="push">
-            <!--visibleWhen
+            <visibleWhen
                   checkEnabled="true">
                <reference
                      definitionId="isAcceptedAndHasNoHomotypicSynonyms">
                </reference>
-            </visibleWhen-->
+            </visibleWhen
                 <visibleWhen>                  
                      <or>
                         <reference
                         </reference>
                      </or>                  
                </visibleWhen>
-         </command>
+         </command>-->
          <menu
                label="Change To">
             <command
       <menuContribution
             locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
          <command
-               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
-               label="New Sibling"
+               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
+               label="New Key Number"
                style="push">
          </command>
          <command
-               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
-               label="New Child"
+               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
+               label="New Alternative"
                style="push">
          </command>
          <command
             locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
          <command
                commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
-               label="New Descriptive Data"
+               label="New Factual Data"
                style="push">
          </command>
          <separator
                visible="true">
          </separator>
          <command
-               commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
-               label="Move Elements"
+               commandId="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
+               label="Move Description to Taxon"
                style="push">
             <visibleWhen
                   checkEnabled="true">
                <reference
-                     definitionId="isDescriptionElement">
+                     definitionId="isDescription">
                </reference>
             </visibleWhen>
          </command>
+         <command
+               commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
+               label="Move Elements to Taxon"
+               style="push">
+            <visibleWhen
+                  checkEnabled="true">
+               <or>
+                  <reference
+                        definitionId="isDescriptionElement">
+                  </reference>
+                  <reference
+                        definitionId="isFeatureNodeContainer">
+                  </reference>
+               </or>
+            </visibleWhen>
+         </command>
          <separator
                name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
                visible="true">
                style="push">
          </command>
       </menuContribution>
+      <menuContribution
+            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
+         <dynamic
+               class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
+               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
+         </dynamic>
+      </menuContribution>
+      <menuContribution
+            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
+         <dynamic
+               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
+               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
+         </dynamic>
+      </menuContribution>
+      <menuContribution
+            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
+         <dynamic
+               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
+               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
+         </dynamic>
+      </menuContribution>
       
       
       
                <reference
                      definitionId="isTaxonBase">
                </reference>
-               <not>
+              <not>
                   <reference
                         definitionId="isAcceptedTaxon">
                   </reference>
             id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
             name="Create Synonym In Homotypical Group">
       </command>
-      <command
+     <command
             categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
             defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
             id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
             id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
             name="Remove Basionym / Original Combination">
       </command>
-      <command
+     <!-- <command
             categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
             defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
             id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
             name="Change Accepted Taxon to Synonym">
-      </command>
+      </command>-->
       <command
             categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
             defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
       </command>
       <category
             id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
-            name="-- Descriptive">
+            name="-- Factual">
       </category>
       <command
             categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
             categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
             defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
             id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
-            name="Move Description Elements">
+            name="Move Description Elements to Taxon">
+      </command>
+      <command
+            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
+            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
+            id="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
+            name="Move Description to Taxon">
       </command>
       <category
             id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
             id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
             name="Edit CDM Authorities">
       </command>
+      <command
+            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
+            id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
+            name="Open Derivate View">
+      </command>
+      <command
+            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
+            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
+            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
+            name="New Datasource">
+      </command>
+
    </extension>
    <extension
          point="org.eclipse.core.expressions.definitions">
             name="Taxonomic Editor Default Key Bindings">
       </scheme>
    </extension>
+    <extension
+         point="org.eclipse.ui.importWizards">
+      <wizard
+            category="eu.etaxonomy.taxeditor.import.category.cdm"
+            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
+            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
+            name="Specimen Search/Import">
+         <description>
+            Queries data provider for specimens with specified parameters.
+Note: Query results are currently limited to 100.
+         </description>
+      </wizard>
+   </extension>
 </plugin>