Revision 2225 tmp/org.txm.searchengine.cqp.rcp/plugin.xml

plugin.xml (revision 2225)
34 34
               optional="true">
35 35
         </commandParameter>
36 36
      </command>
37
      <command
38
            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.Substraction"
39
            id="org.txm.searchengine.cqp.rcp.handlers.base.Substraction"
40
            name="Substraction">
41
      </command>
42
      <command
43
            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.Union"
44
            id="org.txm.searchengine.cqp.rcp.handlers.base.Union"
45
            name="Union">
46
      </command>
47
      <command
48
            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.Intersection"
49
            id="org.txm.searchengine.cqp.rcp.handlers.base.Intersection"
50
            name="Intersection">
51
      </command>
37 52
   </extension>
38 53
   <extension
39 54
         point="org.eclipse.ui.menus">
......
191 206
               </reference>
192 207
            </visibleWhen>
193 208
         </command>
209
         <command
210
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.Substraction"
211
               label="MINUS"
212
               style="push">
213
            <visibleWhen
214
                  checkEnabled="false">
215
               <reference
216
                     definitionId="OneSubCorpusSelected">
217
               </reference>
218
            </visibleWhen>
219
         </command>
220
         <command
221
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.Intersection"
222
               label="INTER"
223
               style="push">
224
            <visibleWhen
225
                  checkEnabled="false">
226
               <reference
227
                     definitionId="OneSubCorpusSelected">
228
               </reference>
229
            </visibleWhen>
230
         </command>
231
         <command
232
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.Union"
233
               label="UNION"
234
               style="push">
235
            <visibleWhen
236
                  checkEnabled="false">
237
               <reference
238
                     definitionId="OneSubCorpusSelected">
239
               </reference>
240
            </visibleWhen>
241
         </command>
194 242
      </menuContribution>
195 243
      <menuContribution
196 244
            allPopups="true"

Also available in: Unified diff