Revision 221 tmp/org.txm.rcp/plugin.xml

plugin.xml (revision 221)
231 231
		<adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
232 232
	</factory>
233 233
 <factory
234
       adaptableType="org.txm.functions.index.Index"
235
       class="org.txm.rcpapplication.AdapterFactory">
236
    <adapter
237
          type="org.eclipse.ui.model.IWorkbenchAdapter">
238
    </adapter>
239
 </factory>
240
 <factory
241 234
       adaptableType="org.txm.functions.referencer.Referencer"
242 235
       class="org.txm.rcpapplication.AdapterFactory">
243 236
    <adapter
......
268 261
            id="org.txm.rcpapplication.editors.SVGGraphicEditor"
269 262
            name="%editor.name"/>
270 263
      <editor
271
            class="org.txm.rcpapplication.editors.TableEditor"
272
            default="false"
273
            icon="icons/functions/Index.png"
274
            id="org.txm.rcpapplication.editors.TableEditor"
275
            name="%editor.name.0">
276
      </editor>
277
      <editor
278 264
            class="org.txm.rcpapplication.editors.GenericMultiPageEditor"
279 265
            default="false"
280 266
            id="org.txm.rcpapplication.editors.GenericMultiPageEditor"
......
308 294
            name="%editor.name.6">
309 295
      </editor>
310 296
      <editor
311
            class="org.txm.rcpapplication.editors.index.IndexEditor"
312
            default="false"
313
            icon="icons/functions/Index.png"
314
            id="org.txm.rcpapplication.editors.index.IndexEditor"
315
            name="%editor.name.7">
316
      </editor>
317
      <editor
318 297
            class="org.txm.rcpapplication.editors.parabrowser.ParaBrowserEditor"
319 298
            default="false"
320 299
            id="org.txm.rcpapplication.editors.parabrowser.ParaBrowserEditor"
......
1247 1226
               </visibleWhen>
1248 1227
            </command>
1249 1228
            <command
1250
                  commandId="org.txm.rcpapplication.commands.function.ComputeIndex"
1251
                  icon="icons/functions/Index.png"
1252
                  label="%command.label.66"
1253
                  style="push"
1254
                  tooltip="%command.tooltip.62">
1255
               <visibleWhen
1256
                     checkEnabled="false">
1257
                  <or>
1258
                     <reference
1259
                           definitionId="OnePartitionSelected">
1260
                     </reference>
1261
                     <reference
1262
                           definitionId="OneCorpusSelected">
1263
                     </reference>
1264
                  </or>
1265
               </visibleWhen>
1266
            </command>
1267
            <command
1268 1229
                  commandId="org.txm.rcpapplication.commands.function.ComputeConcordance"
1269 1230
                  icon="icons/functions/Concordances.png"
1270 1231
                  label="%command.label.11"
......
1856 1817
               </visibleWhen>
1857 1818
            </command>
1858 1819
            <command
1859
                  commandId="org.txm.rcpapplication.commands.function.ComputeIndex"
1860
                  icon="icons/functions/Index.png"
1861
                  label="%command.label.66"
1862
                  style="push"
1863
                  tooltip="%command.tooltip.62">
1864
               <visibleWhen
1865
                     checkEnabled="false">
1866
                  <or>
1867
                     <reference
1868
                           definitionId="OnePartitionSelected">
1869
                     </reference>
1870
                     <reference
1871
                           definitionId="OneCorpusSelected">
1872
                     </reference>
1873
                  </or>
1874
               </visibleWhen>
1875
            </command>
1876
            <command
1877 1820
                  commandId="org.txm.rcpapplication.commands.function.ComputeConcordance"
1878 1821
                  icon="icons/functions/Concordances.png"
1879 1822
                  label="%command.label.11"
......
2656 2599
            </visibleWhen>
2657 2600
         </command>
2658 2601
         <command
2659
               commandId="org.txm.rcpapplication.commands.function.ComputeIndex"
2660
               icon="icons/functions/Index.png"
2661
               label="%command.label.66"
2662
               style="push"
2663
               tooltip="%command.tooltip.62">
2664
            <visibleWhen
2665
                  checkEnabled="false">
2666
               <or>
2667
                  <reference
2668
                        definitionId="OnePartitionSelected">
2669
                  </reference>
2670
                  <reference
2671
                        definitionId="OneCorpusSelected">
2672
                  </reference>
2673
               </or>
2674
            </visibleWhen>
2675
         </command>
2676
         <command
2677 2602
               commandId="org.txm.rcpapplication.commands.function.ComputeConcordance"
2678 2603
               icon="icons/functions/Concordances.png"
2679 2604
               label="%command.label.11"
......
3547 3472
      </command>
3548 3473
      <command
3549 3474
            categoryId="org.txm.rcpapplication.category.txm"
3550
            defaultHandler="org.txm.rcpapplication.commands.function.ComputeIndex"
3551
            id="org.txm.rcpapplication.commands.function.ComputeIndex"
3552
            name="%command.name.27">
3553
      </command>
3554
      <command
3555
            categoryId="org.txm.rcpapplication.category.txm"
3556 3475
            defaultHandler="org.txm.rcpapplication.commands.function.OpenParaBrowser"
3557 3476
            id="org.txm.rcpapplication.commands.function.OpenParaBrowser"
3558 3477
            name="%command.name.33">
......
3973 3892
                        ifEmpty="false"
3974 3893
                        operator="and">
3975 3894
                     <instanceof
3976
                           value="org.txm.functions.index.Index">
3895
                           value="org.txm.index.core.functions.Index">
3977 3896
                     </instanceof>
3978 3897
                  </iterate>
3979 3898
               </with>

Also available in: Unified diff