Project

General

Profile

« Previous | Next » 

Revision 5d040c73

Added by Patrick Plitzner over 6 years ago

ref #6595 Remove e3 popup menu

View differences:

eu.etaxonomy.taxeditor.editor/plugin.xml
300 300
               style="push">
301 301
         </command>
302 302
      </menuContribution>
303
      <menuContribution
304
            locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
305
         <menu
306
               label="%menu.label">
307
            <command
308
                  commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
309
                  label="%command.label.9"
310
                  style="push">
311
               <visibleWhen>
312
                  <reference
313
                        definitionId="isAcceptedTaxon">
314
                  </reference>
315
               </visibleWhen>
316
            </command>
317
            <command
318
                  commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
319
                  label="%command.label.10"
320
                  style="push">
321
               <visibleWhen>
322
                  <reference
323
                        definitionId="isAcceptedTaxon">
324
                  </reference>
325
               </visibleWhen>
326
            </command>
327
            <command
328
                  commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
329
                  label="%command.label.11"
330
                  style="push">
331
               <visibleWhen>
332
                  <reference
333
                        definitionId="isSynonym">
334
                  </reference>
335
               </visibleWhen>
336
            </command>
337
            <separator
338
                  name="separator1"
339
                  visible="true">
340
            </separator>
341
           <command
342
                  commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
343
                  label="%command.label.49"
344
                  style="push">
345
               <visibleWhen>
346
                  <or>
347
                     <reference
348
                           definitionId="isAcceptedTaxon">
349
                     </reference>
350
                     <reference
351
                           definitionId="isMisapplication">
352
                     </reference>
353
                  </or>
354
               </visibleWhen>
355
            </command>
356
         </menu>
357
        <!--<command
358
               commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
359
               label="Change Accepted Taxon to Synonym"
360
               style="push">
361
            <visibleWhen
362
                  checkEnabled="true">
363
               <reference
364
                     definitionId="isAcceptedAndHasNoHomotypicSynonyms">
365
               </reference>
366
            </visibleWhen
367
                <visibleWhen>                  
368
                     <or>
369
                        <reference
370
                              definitionId="isAcceptedTaxon">
371
                        </reference>
372
                        <reference
373
                              definitionId="isMisapplication">
374
                        </reference>
375
                     </or>                  
376
               </visibleWhen>
377
         </command>-->
378
         <menu
379
               label="%menu.label.0">
380
            <command
381
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
382
                  label="%command.label.12"
383
                  style="push">
384
               <visibleWhen>
385
               <and>
386
                  <not>
387
                     <or>
388
                        <reference
389
                              definitionId="isAcceptedTaxon">
390
                        </reference>
391
                        <reference
392
                              definitionId="isMisapplication">
393
                        </reference>
394
                     </or>
395
                     </not>
396
                       <reference
397
                              definitionId="isNotHomotypicSynonymOfAcceptedTaxon">
398
                        </reference>
399
                  </and>
400
               </visibleWhen>
401
            </command>
402
            <command
403
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
404
                  label="%command.label.13"
405
                  style="push">
406
               <visibleWhen>
407
                  <not>
408
                     <or>
409
                        <reference
410
                              definitionId="isAcceptedTaxon">
411
                        </reference>
412
                        <reference
413
                              definitionId="isSynonym">
414
                        </reference>
415
                     </or>
416
                  </not>
417
               </visibleWhen>
418
            </command>
419
            <command
420
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
421
                  label="%command.label.14"
422
                  style="push">
423
               <visibleWhen>
424
                  <not>
425
                     <or>
426
                        <reference
427
                              definitionId="isAcceptedTaxon">
428
                        </reference>
429
                        <reference
430
                              definitionId="isMisapplication">
431
                        </reference>
432
                     </or>
433
                  </not>
434
               </visibleWhen>
435
            </command>
436
         </menu>
437
         <separator
438
               name="taxeditor-editor.separator1"
439
               visible="true">
440
         </separator>
441
         <command
442
               commandId="eu.etaxonomy.taxeditor.editor.name.delete"
443
               label="%command.label.15"
444
               style="push">
445
            <visibleWhen>
446
               <or>
447
                  <reference
448
                        definitionId="isSynonym">
449
                  </reference>
450
                  <reference
451
                        definitionId="isMisapplication">
452
                  </reference>
453
                  <reference
454
                        definitionId="isConceptRelation">
455
                  </reference>
456
               </or>
457
            </visibleWhen>
458
         </command>
459
         <command
460
               commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
461
               label="%command.label.16"
462
               style="push">
463
            <visibleWhen>
464
               <reference
465
                     definitionId="hasEmptyNames">
466
               </reference>
467
            </visibleWhen>
468
         </command>
469
         <separator
470
               name="taxeditor-editor.separator2"
471
               visible="true">
472
         </separator>
473
        <!-- <dynamic
474
               class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
475
               id="taxeditor-editor.dynamic.setBasionym">
476
            <visibleWhen>
477
               <or>
478
                  <reference
479
                        definitionId="isAcceptedTaxon">
480
                  </reference>
481
                  <reference
482
                        definitionId="isSynonym">
483
                  </reference>
484
               </or>
485
            </visibleWhen>
486
         </dynamic>-->
487
         <command
488
               commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
489
               label="%command.label.17"
490
               style="push">
491
            <visibleWhen>
492
               <reference
493
                     definitionId="isSynonym">
494
               </reference>
495
            </visibleWhen>
496
         </command>
497
          <command
498
               commandId="eu.etaxonomy.taxeditor.editor.name.setAsBasionym"
499
               label="%command.label.57"
500
               style="push">
501
            <visibleWhen>
502
              <reference
503
                     definitionId="isSynonymInHomotypicalGroupWithMoreSynonyms">
504
               </reference>
505
           </visibleWhen>
506
         </command>
507
         <command
508
                  commandId="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
509
                  label="%command.label.56"
510
                  style="push">
511
               <visibleWhen>
512
                  <and>
513
                   <reference
514
                         definitionId="isSynonym">
515
                   </reference>
516
                   <reference
517
                         definitionId="isNotHomotypicSynonymOfAcceptedTaxon">
518
                   </reference>
519
                   </and>
520
                </visibleWhen>
521
          </command>
522
         <separator
523
               name="taxeditor-editor.separator3"
524
               visible="true">
525
         </separator>
526
         <command
527
               commandId="org.eclipse.ui.views.showView"
528
               label="%command.label.18"
529
               style="push">
530
            <parameter
531
                  name="org.eclipse.ui.views.showView.viewId"
532
                  value="eu.etaxonomy.taxeditor.view.detail">
533
            </parameter>
534
         </command>
535
         <separator
536
               name="taxeditor-editor.separator4"
537
               visible="true">
538
         </separator>
539
         <command
540
               commandId="org.eclipse.ui.file.save"
541
               label="%command.label.19"
542
               style="push">
543
         </command>
544
      </menuContribution>
545 303
      <menuContribution
546 304
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
547 305
         <command

Also available in: Unified diff