i18n for changing password #3102
[taxeditor.git] / eu.etaxonomy.taxeditor.store / plugin.xml
index c3082aa12c74b25edceb91b220b08972c717a84a..70bdd299bf1400dbd87a0960a3ec675ded507c05 100644 (file)
@@ -39,6 +39,7 @@
             id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
             name="%page.name.4">
       </page>
+     
       <!--page
             class="eu.etaxonomy.taxeditor.store.preference.CdmPreferences"
             id="eu.etaxonomy.taxeditor.preferences.cdm"
             id="eu.etaxonomy.taxeditor.preference.TaxonNavigator"
             name="%page.name.32">
       </page>
+       <page
+            category="eu.etaxonomy.taxeditor.preferences.general"
+            class="eu.etaxonomy.taxeditor.preference.DebugPreferences"
+            id="eu.etaxonomy.taxeditor.preferences.debug"
+            name="%page.name.34">
+      </page>
    </extension>
    <extension
          point="org.eclipse.ui.views">
                </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>
          <command
                commandId="eu.etaxonomy.taxeditor.store.operations.reconnect"
                label="%command.label.RE_CONNECT"
                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"
             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"
       <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.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.uuidParameterType"
             type="java.util.UUID">
       </commandParameterType>
+      <commandParameterType
+            converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
+            id="eu.etaxonomy.taxeditor.uuidsParameterType"
+            type="java.util.List">
+      </commandParameterType>
    </extension>
    <extension
          point="org.eclipse.ui.importWizards">
          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="%viewCommandMapping.viewerName.TAXON_NODE_WIZARD">
    </viewCommandMapping>
 </extension>
 </plugin>