Project

General

Profile

« Previous | Next » 

Revision ec8d8233

Added by Patrick Plitzner over 6 years ago

ref #6931 migrate uses view

View differences:

eu.etaxonomy.taxeditor.editor/plugin.xml
67 67
   </extension>
68 68
      <extension
69 69
            point="org.eclipse.ui.views">
70
          <view
71
                allowMultiple="false"
72
                category="eu.etaxonomy.taxeditor.editor.category"
73
                class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
74
                icon="icons/leaf.png"
75
                id="eu.etaxonomy.taxeditor.editor.view.uses"
76
                name="%view.name.0"
77
                restorable="true">
78
         </view>
79 70
         <view
80 71
               category="eu.etaxonomy.taxeditor.editor.category"
81 72
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
......
727 718
         </dynamic>
728 719
      </menuContribution>
729 720
      
730
      <menuContribution
731
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
732
         <command
733
               commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
734
               label="%command.label.32"
735
               style="push">
736
         </command>
737
         <command
738
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
739
               label="%command.label.33"
740
               style="push">
741
            <visibleWhen
742
                  checkEnabled="true">
743
               <or>
744
                  <reference
745
                        definitionId="isDescription">
746
                  </reference>
747
                  <reference
748
                        definitionId="isDescriptionElement">
749
                  </reference>
750
                  <reference
751
                        definitionId="isFeatureNodeContainer">
752
                  </reference>
753
               </or>
754
            </visibleWhen>
755
         </command>
756
         <command
757
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
758
               label="%command.label.34"
759
               style="push">
760
            <visibleWhen
761
                  checkEnabled="true">
762
               <or>
763
                  <reference
764
                        definitionId="isDescription">
765
                  </reference>
766
                  <reference
767
                        definitionId="isDescriptionElement">
768
                  </reference>
769
                  <reference
770
                        definitionId="isFeatureNodeContainer">
771
                  </reference>
772
               </or>
773
            </visibleWhen>
774
         </command>
775
         <separator
776
               name="eu.etaxonomy.taxeditor.usesEditor.separator3"
777
               visible="true">
778
         </separator>
779
         <separator
780
               name="taxeditor-editor.separator1"
781
               visible="true">
782
         </separator>
783
         <separator
784
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
785
               visible="true">
786
         </separator>
787
         <command
788
               commandId="eu.etaxonomy.taxeditor.editor.use.command.delete"
789
               label="%command.label.35"
790
               style="push">
791
         </command>
792
         <separator
793
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
794
               visible="true">
795
         </separator>
796
         <command
797
               commandId="org.eclipse.ui.file.save"
798
               label="%command.label.36"
799
               style="push">
800
         </command>
801
      </menuContribution>
802 721
      
803 722
      
804 723
      
......
1009 928
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1010 929
            name="%category.name.2">
1011 930
      </category>
1012
      <command
1013
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1014
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1015
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
1016
            name="%command.name.14">
1017
      </command>
1018
      <command
1019
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1020
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1021
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1022
            name="%command.name.16">
1023
      </command>
1024
      <command
1025
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1026
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1027
            id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1028
            name="%command.name.15">
1029
      </command>
1030
      <command
1031
            id="eu.etaxonomy.taxeditor.editor.use.command.delete"
1032
            name="%command.name.47">
1033
      </command>
1034 931
      <category
1035 932
            id="eu.etaxonomy.taxeditor.editor.media.category"
1036 933
            name="%category.name.3">

Also available in: Unified diff