Revision 1196 tmp/org.txm.specificities.rcp/plugin.xml

plugin.xml (revision 1196)
55 55
                  <reference
56 56
                        definitionId="OneLexicalTableSelected">
57 57
                  </reference>
58
                  <reference
59
                        definitionId="OnePartitionIndexSelected">
60
                  </reference>
58 61
               </or>
59 62
            </visibleWhen>
60 63
         </command>
61 64
      </menuContribution>
62 65
      <menuContribution
63
            locationURI="menu:menu.tools">
66
            locationURI="menu:menu.tools?after=menu.tools.separator.stats">
64 67
         <command
65 68
               commandId="org.txm.specificities.rcp.handlers.ComputeSpecifities"
66 69
               icon="icons/functions/specificities.png"
......
77 80
                  <reference
78 81
                        definitionId="OneLexicalTableSelected">
79 82
                  </reference>
83
                  <reference
84
                        definitionId="OnePartitionIndexSelected">
85
                  </reference>
80 86
               </or>
81 87
            </visibleWhen>
82 88
         </command>
83 89
      </menuContribution>
84 90
      <menuContribution
85 91
            allPopups="false"
86
            locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.referencer.rcp.handlers.ComputeReferencer">
92
            locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.rcp.toolbartools.stats">
87 93
         <command
88 94
               commandId="org.txm.specificities.rcp.handlers.ComputeSpecifities"
89 95
               icon="icons/functions/specificities.png"
90
               style="push"
91
               tooltip="%command.tooltip">
96
               style="push">
92 97
            <visibleWhen
93 98
                  checkEnabled="false">
94 99
               <or>
95 100
                  <reference
101
                        definitionId="OnePartitionSelected">
102
                  </reference>
103
                  <reference
96 104
                        definitionId="OneSubCorpusSelected">
97 105
                  </reference>
98 106
                  <reference
99 107
                        definitionId="OneLexicalTableSelected">
100 108
                  </reference>
101
               </or>
102
            </visibleWhen>
103
         </command>
104
      </menuContribution>
105
      <menuContribution
106
            allPopups="false"
107
            locationURI="toolbar:org.txm.rcp.toolbartools?after=ComputeIndexFromPartition">
108
         <command
109
               commandId="org.txm.specificities.rcp.handlers.ComputeSpecifities"
110
               icon="icons/functions/specificities.png"
111
               style="push"
112
               tooltip="%command.tooltip">
113
            <visibleWhen
114
                  checkEnabled="false">
115
               <or>
116 109
                  <reference
117
                        definitionId="OnePartitionSelected">
110
                        definitionId="OnePartitionIndexSelected">
118 111
                  </reference>
119 112
               </or>
120 113
            </visibleWhen>

Also available in: Unified diff