Project

General

Profile

« Previous | Next » 

Revision e461037f

Added by Patrick Plitzner over 6 years ago

fix #6922 Migrate Term Editor

View differences:

eu.etaxonomy.taxeditor.store/plugin.xml
247 247
        name="%view.name.8">
248 248
   	  </view>
249 249
   </extension>
250
   <extension
251
         point="org.eclipse.ui.editors">
252
      <editor
253
            class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermEditor"
254
            default="false"
255
            id="eu.etaxonomy.taxeditor.editor.definedTerm"
256
            name="%editor.name">
257
      </editor>
258
   </extension>
259 250
   <extension
260 251
         point="org.eclipse.ui.menus">
261
      <menuContribution 
262
         allPopups="false" 
263
                 locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last"> 
264
           <dynamic 
265
                    class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenu" 
266
                   id="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenu"> 
267
              <visibleWhen 
268
                      checkEnabled="true"> 
269
                  <reference 
270
                        definitionId="isCdmStoreConnected"> 
271
                  </reference> 
272
             </visibleWhen> 
273
        </dynamic> 
274
      </menuContribution>
275 252
      <menuContribution
276 253
            locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
277 254
         <command
......
413 390
            </control>
414 391
         </toolbar>
415 392
      </menuContribution>
416
      <menuContribution
417
            locationURI="popup:eu.etaxonomy.taxeditor.editor.definedTerm">
418
         <menu
419
               label="%menu.label.0">
420
            <command
421
                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
422
                  label="%command.label.12"
423
                  style="push">
424
            </command>
425
            <command
426
                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
427
                  label="%command.label.13"
428
                  style="push">
429
               <visibleWhen
430
                     checkEnabled="true">
431
                  <reference
432
                        definitionId="isModifiable">
433
                  </reference>
434
               </visibleWhen>
435
            </command>
436
            <command
437
                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newKindOfTerm"
438
                  label="Kind Of Term"
439
                  style="push">
440
               <visibleWhen
441
                     checkEnabled="true">
442
                  <reference
443
                        definitionId="isShowExperimentalFeatures">
444
                  </reference>
445
               </visibleWhen>
446
            </command>
447
         </menu>
448
         <command
449
               commandId="eu.etaxonomy.taxeditor.editor.definedTerms.delete"
450
               label="%command.label.14"
451
               style="push">
452
            <visibleWhen
453
                  checkEnabled="true">
454
               <reference
455
                     definitionId="isModifiable">
456
               </reference>
457
            </visibleWhen>
458
         </command>
459
      </menuContribution>
460 393
   </extension>
461 394
   <extension
462 395
         point="org.eclipse.ui.handlers">
......
541 474
            id="eu.etaxonomy.taxeditor.store.operations.reconnect"
542 475
            name="%command.name.RE_CONNECT">
543 476
      </command>
544
      <command
545
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
546
            id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
547
            name="%command.name.5">
548
         <commandParameter
549
               id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid"
550
               name="%commandParameter.name.0"
551
               optional="true">
552
         </commandParameter>
553
      </command>
554
      <command
555
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
556
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
557
            name="%command.name.6">
558
      </command>
559
      <command
560
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
561
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newKindOfTerm"
562
            name="New kind-of term">
563
      </command>
564
      <command
565
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateTermVocabularyHandler"
566
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
567
            name="%command.name.7">
568
      </command>
569 477
      <command
570 478
            id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
571 479
            name="%command.name.10">
......
579 487
            id="eu.etaxonomy.taxeditor.datasource.connect"
580 488
            name="%command.name.12">
581 489
      </command>
582
      <command
583
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
584
            id="eu.etaxonomy.taxeditor.editor.definedTerms.delete"
585
            name="%command.name.14">
586
      </command>
587 490
      <command
588 491
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenInspectSessionsHandler"
589 492
            id="eu.etaxonomy.taxeditor.store.open.InspectSessionsDialog"

Also available in: Unified diff