Project

General

Profile

« Previous | Next » 

Revision e6aba306

Added by Patrick Plitzner over 6 years ago

ref #6906 Migrate media view context menu

View differences:

eu.etaxonomy.taxeditor.editor/plugin.xml
862 862
      
863 863
      
864 864
      
865
      <menuContribution
866
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
867
         <command
868
               commandId="eu.etaxonomy.taxeditor.editor.media.command.newimage"
869
               label="%command.label.38"
870
               style="push">
871
            <visibleWhen>
872
               <reference
873
                     definitionId="isImageGallery">
874
               </reference>
875
            </visibleWhen>
876
         </command>
877
         <command
878
               commandId="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
879
               label="%command.label.50"
880
               style="push">
881
            <visibleWhen>
882
               <reference
883
                     definitionId="isImageGallery">
884
               </reference>
885
            </visibleWhen>
886
         </command>
887
         <command
888
               commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
889
               label="%command.label.39"
890
               style="push">
891
            <visibleWhen>
892
               <reference
893
                     definitionId="isMedia">
894
               </reference>
895
            </visibleWhen>
896
         </command>
897
         <command
898
               commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
899
               label="%command.label.40"
900
               style="push">
901
            <visibleWhen>
902
               <reference
903
                     definitionId="isMedia">
904
               </reference>
905
            </visibleWhen>
906
         </command>
907
         <separator
908
               name="taxeditor-editor.separator2"
909
               visible="true">
910
         </separator>
911
         <command
912
               commandId="eu.etaxonomy.taxeditor.editor.media.command.delete"
913
               label="%command.label.41"
914
               style="push">
915
         </command>
916
         <command
917
               commandId="org.eclipse.ui.file.save"
918
               label="%command.label.42"
919
               style="push">
920
         </command>
921
      </menuContribution>
922 865
      <menuContribution
923 866
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
924 867
         <menu
......
1371 1314
            id="eu.etaxonomy.taxeditor.editor.media.category"
1372 1315
            name="%category.name.3">
1373 1316
      </category>
1374
      <command
1375
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1376
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1377
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
1378
            name="%command.name.19">
1379
      </command>
1380
      <command
1381
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1382
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1383
            id="eu.etaxonomy.taxeditor.editor.media.command.newimage"
1384
            name="%command.name.21">
1385
      </command>
1386
      <command
1387
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1388
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1389
            id="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
1390
            name="%command.name.37">
1391
      </command>
1392
      <command
1393
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1394
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1395
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
1396
            name="%command.name.22">
1397
      </command>
1398
       <command
1399
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1400
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1401
            id="eu.etaxonomy.taxeditor.editor.media.command.delete"
1402
            name="%command.name.49">
1403
      </command>
1404 1317
      
1405 1318
      <category
1406 1319
            id="eu.etaxonomy.taxeditor.editor.new.category"
......
1849 1762
            id="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1850 1763
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1851 1764
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
1852
            type="org.eclipse.jface.viewers.TreeSelection">
1765
            type="java.lang.Object">
1853 1766
      </propertyTester>
1854 1767
      <propertyTester
1855 1768
            class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"

Also available in: Unified diff