Project

General

Profile

Revision c43d0839

IDc43d0839e36af634e39953199310c44bb50fe313
Parent fa518bf8
Child 1c869e72, 3429c5db

Added by Patrick Plitzner about 7 years ago

#4389
- unified "New Image Gallery" command and handler for TaxonEditor and BulkEditor
- Removed "Add Derived/Field Unit Media" command
- added interface IPartContentHasMedia to specify that the MediaView should react to selection changes of implementers

View differences:

eu.etaxonomy.taxeditor.editor/plugin.xml
707 707
               commandId="taxeditor-editor.command.newimagegallery"
708 708
               label="%command.label.37"
709 709
               style="push">
710
            <visibleWhen>
711
               <or>
712
                  <reference
713
                        definitionId="isBulkEditor">
714
                  </reference>
715
                  <reference
716
                        definitionId="isTaxonEditor">
717
                  </reference>
718
                  <reference
719
                        definitionId="isDerivateEditor">
720
                  </reference>
721
               </or>
722
            </visibleWhen>
710 723
         </command>
711 724
         <separator
712 725
               name="taxeditor-editor.separator1"
......
1262 1275
         </with>
1263 1276
      </definition>
1264 1277
      <definition
1278
            id="isBulkEditor">
1279
         <with
1280
               variable="selection">
1281
            <test
1282
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1283
            </test>
1284
         </with>
1285
      </definition>
1286
      <definition
1287
            id="isDerivateEditor">
1288
         <with
1289
               variable="selection">
1290
            <test
1291
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1292
            </test>
1293
         </with>
1294
      </definition>
1295
      <definition
1265 1296
            id="isDescription">
1266 1297
         <with
1267 1298
               variable="selection">
......
1329 1360
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1330 1361
            id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1331 1362
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1332
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor"
1363
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor"
1333 1364
            type="org.eclipse.jface.viewers.TreeSelection">
1334 1365
      </propertyTester>
1335 1366
      <propertyTester

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)