Updated version in pom / project files to taxeditor version : 4.4.1 and cdmlib versio...
[taxeditor.git] / eu.etaxonomy.taxeditor.store / plugin.xml
old mode 100644 (file)
new mode 100755 (executable)
index 768db4a..9e449ab
@@ -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"
             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"  
                </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">
                label="%command.label.6"
                style="push">
                <visibleWhen>
-              <with
-                        variable="selection">
-                        <not>
-                               <test
-                                       property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
-                               </test>
-                       </not>
-                       </with>
+                  <not>
+                     <reference
+                           definitionId="hasDataModel">
+                     </reference>
+                  </not>
             </visibleWhen>
          </command>
          <command
                name="eu.etaxonomy.taxeditor.store.datasource.separator2"
                visible="true">
          </separator>
-         <command
-               commandId="eu.etaxonomy.taxeditor.store.datasource.close"
-               label="%command.label.10"
-               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.update"
                label="%command.label.11"
             </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.SwitchUserHandler"
             commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
             id="eu.etaxonomy.taxeditor.store.datasource.create"
             name="%command.name.1">
       </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloseConnectionHandler"
-            id="eu.etaxonomy.taxeditor.store.datasource.close"
-            name="%command.name.2">
-      </command>
       <command
             defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
             id="eu.etaxonomy.taxeditor.view.datasource.delete"
             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"
       <command
             defaultHandler="eu.etaxonomy.taxeditor.handler.OpenInspectSessionsHandler"
             id="eu.etaxonomy.taxeditor.store.open.InspectSessionsDialog"
-            name="Inspect Active Session">
+            name="%command.name.INSPECT_ACTIVE_SESSIONS">
       </command>
       <command
             defaultHandler="eu.etaxonomy.taxeditor.handler.OpenHandler"
                typeId="eu.etaxonomy.taxeditor.uuidParameterType">
          </commandParameter>
       </command>
+      <command
+            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenDatabasePreferencesWizardHandler"
+            id="eu.etaxonomy.taxeditor.application.DatabaseSettings"
+            name="%command.label.23">
+      </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.JaxbImportWizard"
          class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
          id="eu.etaxonomy.taxeditor.datasource.propertyTester"
          namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
-         properties="test"
+         properties="test, hasDataModel"
          type="org.eclipse.jface.viewers.IStructuredSelection">
    </propertyTester>
    <propertyTester
          </test>
       </with>
    </definition>
+   <definition
+         id="hasDataModel">
+      <with
+            variable="selection">
+         <test
+               property="eu.etaxonomy.taxeditor.datasource.propertyTester.hasDataModel">
+         </test>
+      </with>
+   </definition>
    <definition
          id="isShowExperimentalFeatures">
       <with
    <viewCommandMapping
          commandId="eu.etaxonomy.taxeditor.command.openClassificationWizard"
          selection="eu.etaxonomy.cdm.model.taxon.Classification"
-         viewerName="Classification Wizard">
+         viewerName="%viewCommandMapping.viewerName.CLASSIFICATION_WIZARD">
    </viewCommandMapping>
    <viewCommandMapping
          commandId="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard"
          selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
-         viewerName="TaxonNode Wizard">
+         viewerName="%viewCommandMapping.viewerName.TAXON_NODE_WIZARD">
    </viewCommandMapping>
 </extension>
 </plugin>