Révision 3560 TXM/trunk/org.txm.searchengine.cqp.rcp/plugin.xml

plugin.xml (revision 3560)
54 54
            id="org.txm.searchengine.cqp.rcp.handlers.base.Intersection"
55 55
            name="%command.name.3">
56 56
      </command>
57
      <command
58
            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.EditPartition"
59
            id="org.txm.searchengine.cqp.rcp.handlers.base.EditPartition"
60
            name="Edit">
61
         <commandParameter
62
               id="CorpusParameter"
63
               name="%commandParameter.name.0"
64
               optional="true">
65
         </commandParameter>
66
      </command>
67
      <command
68
            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.EditSubCorpus"
69
            id="org.txm.searchengine.cqp.rcp.handlers.base.EditSubCorpus"
70
            name="Edit">
71
         <commandParameter
72
               id="CorpusParameter"
73
               name="%commandParameter.name.0"
74
               optional="true">
75
         </commandParameter>
76
         <commandParameter
77
               id="edit"
78
               name="%commandParameter.name"
79
               optional="true">
80
         </commandParameter>
81
      </command>
57 82
   </extension>
58 83
   <extension
59 84
         point="org.eclipse.ui.preferencePages">
......
163 188
      <menuContribution
164 189
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.corpus.manage">
165 190
         <command
191
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.EditSubCorpus"
192
               icon="platform:/plugin/org.txm.rcp/icons/functions/pencil.png"
193
               style="push">
194
            <visibleWhen
195
                  checkEnabled="false">
196
               <and>
197
                  <reference
198
                        definitionId="OneSubCorpusSelected">
199
                  </reference>
200
                  <reference
201
                        definitionId="ExpertEnabled">
202
                  </reference>
203
               </and>
204
            </visibleWhen>
205
         </command>
206
         <command
207
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.EditPartition"
208
               icon="platform:/plugin/org.txm.rcp/icons/functions/pencil.png"
209
               style="push">
210
            <visibleWhen
211
                  checkEnabled="false">
212
               <and>
213
                  <reference
214
                        definitionId="OnePartitionSelected">
215
                  </reference>
216
                  <reference
217
                        definitionId="ExpertEnabled">
218
                  </reference>
219
               </and>
220
            </visibleWhen>
221
         </command>
222
         <command
166 223
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
167 224
               icon="icons/functions/subcorpus.png"
168 225
               style="push">
......
239 296
      <menuContribution
240 297
            locationURI="menu:menu.corpus?after=menu.corpus.build">
241 298
         <command
299
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.EditSubCorpus"
300
               icon="platform:/plugin/org.txm.rcp/icons/functions/pencil.png"
301
               style="push">
302
            <visibleWhen
303
                  checkEnabled="false">
304
               <and>
305
                  <reference
306
                        definitionId="OneSubCorpusSelected">
307
                  </reference>
308
                  <reference
309
                        definitionId="ExpertEnabled">
310
                  </reference>
311
               </and>
312
            </visibleWhen>
313
         </command>
314
         <command
315
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.EditPartition"
316
               icon="platform:/plugin/org.txm.rcp/icons/functions/pencil.png"
317
               style="push">
318
            <visibleWhen
319
                  checkEnabled="false">
320
               <and>
321
                  <reference
322
                        definitionId="OnePartitionSelected">
323
                  </reference>
324
                  <reference
325
                        definitionId="ExpertEnabled">
326
                  </reference>
327
               </and>
328
            </visibleWhen>
329
         </command>
330
         <command
242 331
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
243 332
               icon="icons/functions/subcorpus.png"
244 333
               style="push">
......
314 403
      <menuContribution
315 404
            locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.rcp.toolbarcorpus.corpus">
316 405
         <command
406
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.EditSubCorpus"
407
               icon="platform:/plugin/org.txm.rcp/icons/functions/pencil.png"
408
               style="push">
409
            <visibleWhen
410
                  checkEnabled="false">
411
               <and>
412
                  <reference
413
                        definitionId="OneSubCorpusSelected">
414
                  </reference>
415
                  <reference
416
                        definitionId="ExpertEnabled">
417
                  </reference>
418
               </and>
419
            </visibleWhen>
420
         </command>
421
         <command
422
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.EditPartition"
423
               icon="platform:/plugin/org.txm.rcp/icons/functions/pencil.png"
424
               style="push">
425
            <visibleWhen
426
                  checkEnabled="false">
427
               <and>
428
                  <reference
429
                        definitionId="OnePartitionSelected">
430
                  </reference>
431
                  <reference
432
                        definitionId="ExpertEnabled">
433
                  </reference>
434
               </and>
435
            </visibleWhen>
436
         </command>
437
         <command
317 438
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
318 439
               icon="icons/functions/subcorpus.png"
319 440
               style="push">

Formats disponibles : Unified diff