Merge branch 'release/4.7.0'
[taxeditor.git] / eu.etaxonomy.taxeditor.store / plugin.xml
old mode 100644 (file)
new mode 100755 (executable)
index 70bdd29..d8c95af
@@ -9,6 +9,24 @@
             id="eu.etaxonomy.taxeditor.preferences.general"
             name="%page.name">
       </page>
+      <!-- <page
+            category="eu.etaxonomy.taxeditor.preferences.admin"
+            class="eu.etaxonomy.taxeditor.preference.AdminGeneralPreferences"
+            id="eu.etaxonomy.taxeditor.preferences.adminGeneral"
+            name="%page.name.38">
+      </page>
+       <page
+            category="eu.etaxonomy.taxeditor.preferences.admin"
+            class="eu.etaxonomy.taxeditor.databasePreferences.AdminNomenclaturalCode"
+            id="eu.etaxonomy.taxeditor.preferences.adminNomenclaturalCode"
+            name="%page.name.39">
+      </page>-->
+      <page
+                       category="eu.etaxonomy.taxeditor.preferences.general"
+            class="eu.etaxonomy.taxeditor.preference.NameDetailsViewConfiguration"
+            id="eu.etaxonomy.taxeditor.preferences.nameDetails"
+            name="%page.name.36">
+      </page>
       <page
             category="eu.etaxonomy.taxeditor.preferences.general"
             class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
@@ -35,7 +53,7 @@
       </page>
       <page
             category="eu.etaxonomy.taxeditor.preferences.taxonomic"
-            class="eu.etaxonomy.taxeditor.preference.NomenclaturalCodePreferences"
+            class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalCodePreferences"
             id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
             name="%page.name.4">
       </page>
             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"
             id="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreferencePage"
             name="%page.name.28">
       </page>
-      <page
+   <!--   <page
             category="eu.etaxonomy.taxeditor.preferences.general"
             class="eu.etaxonomy.taxeditor.preference.TemplatePreferencePage"
             id="eu.etaxonomy.taxeditor.preference.TemplatePreferencePage"
             name="%page.name.29">
-      </page>
+      </page>-->
       <page
             category="eu.etaxonomy.taxeditor.preferences.general"
             class="eu.etaxonomy.taxeditor.preference.LanguageEditorPreferencePage"
             id="eu.etaxonomy.taxeditor.preference.TaxonNavigator"
             name="%page.name.32">
       </page>
-       <page
+      <page
             category="eu.etaxonomy.taxeditor.preferences.general"
             class="eu.etaxonomy.taxeditor.preference.DebugPreferences"
             id="eu.etaxonomy.taxeditor.preferences.debug"
             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"  
    </extension>
    <extension
          point="org.eclipse.ui.menus">
-      <menuContribution
-            locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
-         <menu
-               id="eu.etaxonomy.taxeditor.menu.showView"
-               label="%menu.label">
-            <command
-                  commandId="org.eclipse.ui.views.showView"
-                  id="eu.etaxonomy.taxeditor.store.showViewMenu.details"
-                  label="%command.label.0"
-                  style="push">
-               <parameter
-                     name="org.eclipse.ui.views.showView.viewId"
-                     value="eu.etaxonomy.taxeditor.view.detail">
-               </parameter>
-               <visibleWhen
-                     checkEnabled="true">
-                  <reference
-                        definitionId="isCdmStoreConnected">
-                  </reference>
-               </visibleWhen>
-            </command>
-            <command
-                  commandId="org.eclipse.ui.views.showView"
-                  id="org.eclipse.ui.views.showView.supplemental"
-                     label="%command.label.1"
-                  style="push">
-               <parameter
-                     name="org.eclipse.ui.views.showView.viewId"
-                     value="eu.etaxonomy.taxeditor.view.supplementalData">
-               </parameter>
-               <visibleWhen
-                     checkEnabled="true">
-                  <reference
-                        definitionId="isCdmStoreConnected">
-                  </reference>
-               </visibleWhen>
-            </command>
-            <!-- Originally used by validation framework, currently not in use -->
-       <!--        <command
-                        id="org.eclipse.ui.views.showView.problems"
-                    commandId="org.eclipse.ui.views.showView"
-                    label="Problems"
-                    style="push">
-                 <parameter
-                       name="org.eclipse.ui.views.showView.viewId"
-                       value="org.eclipse.ui.views.ProblemView">
-                 </parameter>
-              </command>  -->
-            <separator
-                  name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
-                  visible="true">
-            </separator>
-            <command
-                  commandId="org.eclipse.ui.views.showView"
-                  label="%command.label.2"
-                  style="push">
-               <parameter
-                     name="org.eclipse.ui.views.showView.viewId"
-                     value="eu.etaxonomy.taxeditor.view.datasource">
-               </parameter>
-            </command>
-            <command
-                  commandId="org.eclipse.ui.views.showView"
-                  label="%command.label.3"
-                  style="push">
-               <parameter
-                     name="org.eclipse.ui.views.showView.viewId"
-                     value="org.eclipse.pde.runtime.LogView">
-               </parameter>
-            </command>
-            <command
-                  commandId="org.eclipse.ui.views.showView"
-                  label="%command.label.4"
-                  style="push">
-               <parameter
-                     name="org.eclipse.ui.views.showView.viewId"
-                     value="eu.etaxonomy.taxeditor.reporting.viewPart">
-               </parameter>
-               <visibleWhen
-                     checkEnabled="true">
-                  <and>
-                     <reference
-                           definitionId="isShowExperimentalFeatures">
-                     </reference>
-                     <reference
-                           definitionId="isCdmStoreConnected">
-                     </reference>
-                  </and>
-               </visibleWhen>
-            </command>
-            <command
-                  commandId="org.eclipse.ui.views.showView"
-                  label="%command.label.SESSION"
-                  style="push">
-               <parameter
-                     name="org.eclipse.ui.views.showView.viewId"
-                     value="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart">
-               </parameter>
-               <visibleWhen
-                     checkEnabled="true">
-                  <reference
-                        definitionId="isCdmStoreConnected">
-                  </reference>
-               </visibleWhen>
-            </command>
-         </menu>
-      </menuContribution>
       <menuContribution 
          allPopups="false" 
-                 locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last"> 
+                 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"> 
         </dynamic> 
       </menuContribution>
       <menuContribution
-            locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
+            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"
             </visibleWhen>
          </command>
          <command
-               commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
-               label="%command.label.CHANGE_PASSWORD"
+               commandId="eu.etaxonomy.taxeditor.store.operations.reconnect"
+               label="%command.label.RE_CONNECT"
                style="push">
             <visibleWhen
                   checkEnabled="true">
             </visibleWhen>
          </command>
          <command
-               commandId="eu.etaxonomy.taxeditor.store.operations.reconnect"
-               label="%command.label.RE_CONNECT"
+               commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
+               label="%command.label.CHANGE_PASSWORD"
                style="push">
             <visibleWhen
                   checkEnabled="true">
             </reference>
          </activeWhen>
       </handler>
+      <handler
+            class="eu.etaxonomy.taxeditor.handler.OpenDatabasePreferencesWizardHandler"
+            commandId="eu.etaxonomy.taxeditor.store.open.OpenDatabasePreferencesWizardHandler">
+            <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">
             id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
             name="%command.name.11">
       </command>
+       <command
+            id="eu.etaxonomy.taxeditor.store.open.OpenDatabasePreferencesWizardHandler"
+            name="%command.name.15">
+      </command>
+      
       <command
             defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
             id="eu.etaxonomy.taxeditor.datasource.connect"
             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.JaxbImportWizard"
             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"
+            class="eu.etaxonomy.taxeditor.io.wizard.RISImportWizard"
+            id="eu.etaxonomy.taxeditor.io.import.risImport"
+            name="%wizard.name.24">
+          
       </wizard>
       <wizard
             category="eu.etaxonomy.taxeditor.import.category.cdm"
             id="eu.etaxonomy.taxeditor.io.export.csv_print"
             name="%wizard.name.20">
       </wizard>
+      <wizard
+            category="eu.etaxonomy.taxeditor.export.category.cdm"
+            class="eu.etaxonomy.taxeditor.io.wizard.OutputModelExportWizard"
+            id="eu.etaxonomy.taxeditor.io.export.output_model"
+            name="%wizard.name.22">
+      </wizard>
    </extension>
    <extension
          point="org.eclipse.ui.newWizards">
             </iterate>
          </with>
       </definition>
+      <definition
+            id="hasROLE_PROJECT_MANAGER_AND_isCdmStoreConnected">
+         <and>
+            <reference
+                  definitionId="hasROLE_PROJECT_MANAGER">
+            </reference>
+            <reference
+                  definitionId="isCdmStoreConnected">
+            </reference>
+         </and>
+      </definition>
 </extension>
 <extension
       point="org.eclipse.ui.activities">
          viewerName="%viewCommandMapping.viewerName.TAXON_NODE_WIZARD">
    </viewCommandMapping>
 </extension>
+<extension
+      id="id1"
+      point="org.eclipse.e4.workbench.model">
+   <fragment
+         apply="always"
+         uri="fragment.e4xmi">
+   </fragment>
+</extension>
 </plugin>