Project

General

Profile

« Previous | Next » 

Revision 6c7a1f64

Added by Andreas Kohlbecker over 10 years ago

implementing #3791 (Implement operation to move a Description to another Taxon) and improving the operation to move elements

View differences:

eu.etaxonomy.taxeditor.editor/plugin.xml
495 495
               visible="true">
496 496
         </separator>
497 497
         <command
498
               commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
499
               label="Move Elements"
498
               commandId="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
499
               label="Move Description to Taxon"
500 500
               style="push">
501 501
            <visibleWhen
502 502
                  checkEnabled="true">
503 503
               <reference
504
                     definitionId="isDescriptionElement">
504
                     definitionId="isDescription">
505 505
               </reference>
506 506
            </visibleWhen>
507 507
         </command>
508
         <command
509
               commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
510
               label="Move Elements to Taxon"
511
               style="push">
512
            <visibleWhen
513
                  checkEnabled="true">
514
               <or>
515
                  <reference
516
                        definitionId="isDescriptionElement">
517
                  </reference>
518
                  <reference
519
                        definitionId="isFeatureNodeContainer">
520
                  </reference>
521
               </or>
522
            </visibleWhen>
523
         </command>
508 524
         <separator
509 525
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
510 526
               visible="true">
......
898 914
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
899 915
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
900 916
            id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
901
            name="Move Description Elements">
917
            name="Move Description Elements to Taxon">
918
      </command>
919
      <command
920
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
921
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
922
            id="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
923
            name="Move Description to Taxon">
902 924
      </command>
903 925
      <category
904 926
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"

Also available in: Unified diff