- not running imports and exports deleted from menu
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / plugin.xml
index 8e5eaf1aa91c0e61abb976a3dee0312f0c1e3ee1..267c86eb531a31efd416028ec0bd39d661a9f7d3 100644 (file)
             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">
       <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">
                   name="separator1"
                   visible="true">
             </separator>
-           <!-- <command
+           <command
                   commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
                   label="Misapplication"
                   style="push">
                      </reference>
                   </or>
                </visibleWhen>
-            </command>-->
+            </command>
          </menu>
         <!--<command
                commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
       </menuContribution>
       <menuContribution
             locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
-         <menu
-               label="Add...">
-            <dynamic
-                  class="eu.etaxonomy.taxeditor.editor.view.derivate.CreateDerivateContextMenu"
-                  id="eu.etaxonomy.taxeditor.editor.view.derivate.CreateDerivateContextMenu">
-            </dynamic>
-         </menu>
-         <command
-               commandId="eu.etaxonomy.taxeditor.editor.copySingleRead"
-               label="Copy"
-               style="push">
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.editor.pasteDerivate"
-               label="Paste"
-               style="push">
-         </command>
+         <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">
-         <command
-               commandId="eu.etaxonomy.taxeditor.editor.view.dataimport.SaveSpecimenCommand"
-               label="Save Specimen"
-               style="push">
-         </command>
+         <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>
       
       
             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"
             name="Create Misapplication">
-      </command>-->
+      </command>
       <!--command
             defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
             id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
             id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
             name="Open Derivate View">
       </command>
-       <command
-            defaultHandler="eu.etaxonomy.taxeditor.editor.view.dataimport.SaveSpecimenCommand"
-            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SaveSpecimenCommand"
-            name="Save Specimen">
+      <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>
-       <command
-             defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.CopySingleReadCommand"
-             id="eu.etaxonomy.taxeditor.editor.copySingleRead"
-             name="Copy SingleRead">
-       </command>
-       <command
-             defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.PasteDerivateCommand"
-             id="eu.etaxonomy.taxeditor.editor.pasteDerivate"
-             name="Paste">
-       </command>
+
    </extension>
    <extension
          point="org.eclipse.core.expressions.definitions">
             </test>
          </with>
       </definition>
-      <definition
-            id="isSpecimenOrObservation">
-         <with
-               variable="selection">
-            <test
-                  property="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateMenuPropertyTester.isSpecimenOrObservation">
-            </test>
-         </with>
-      </definition>
    </extension>
    <extension
          point="org.eclipse.core.expressions.propertyTesters">
             category="eu.etaxonomy.taxeditor.import.category.cdm"
             class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
             id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
-            name="Query BioCASE">
+            name="Specimen Search/Import">
          <description>
-            Query BioCaseProvider
+            Queries data provider for specimens with specified parameters.
+Note: Query results are currently limited to 100.
          </description>
       </wizard>
    </extension>