add selection of classification to csvPrintExport
[taxeditor.git] / eu.etaxonomy.taxeditor.store / plugin.xml
index 768db4a3e12809060043ebf65b24be7937bcba21..acb4023202a3e8db576c42836da3b9105fddf44d 100644 (file)
                </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"
             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"
          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>