- implemented functionality to reuse media in MediaView (#2385)
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / plugin.xml
index 63f730a7e5648d3a75a74583f94752b6b10d4c3d..38a6a28bd610f62294a13e53790d6ced5c30b453 100644 (file)
                </reference>
             </visibleWhen>
          </command>
+         <command
+               commandId="taxeditor-editor.useExistingImage"
+               label="Use Existing Image"
+               style="push">
+            <visibleWhen
+                  checkEnabled="false">
+               <reference
+                     definitionId="isImageGallery">
+               </reference>
+            </visibleWhen>
+         </command>
          <command
                commandId="taxeditor-editor.command.moveimgdown"
                label="%command.label.39"
             id="taxeditor-editor.newimage"
             name="%command.name.21">
       </command>
+      <command
+            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
+            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
+            id="taxeditor-editor.useExistingImage"
+            name="Use Existing Image">
+      </command>
       <command
             categoryId="eu.etaxonomy.taxeditor.editor.media.category"
             defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"