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

plugin.xml (revision 352)
206 206
		class="org.txm.rcp.AdapterFactory">
207 207
		<adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
208 208
	</factory>
209

  
210

  
211

  
212 209
	<factory 
213 210
		adaptableType="org.txm.functions.concordances.Concordance" 
214 211
		class="org.txm.rcp.AdapterFactory">
215 212
		<adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
216 213
	</factory>
217 214
 <factory
218
       adaptableType="org.txm.functions.referencer.Referencer"
219
       class="org.txm.rcp.AdapterFactory">
220
    <adapter
221
          type="org.eclipse.ui.model.IWorkbenchAdapter">
222
    </adapter>
223
 </factory>
224
 <factory
225 215
       adaptableType="org.txm.functions.internal.InternalView"
226 216
       class="org.txm.rcp.AdapterFactory">
227 217
    <adapter
......
278 268
            name="%editor.name.6">
279 269
      </editor>
280 270
      <editor
281
            class="org.txm.rcp.editors.parabrowser.ParaBrowserEditor"
282
            default="false"
283
            id="org.txm.rcp.editors.parabrowser.ParaBrowserEditor"
284
            name="%editor.name.8">
285
      </editor>
286
      <editor
287
            class="org.txm.rcp.editors.referencer.ReferencerEditor"
288
            default="false"
289
            icon="icons/functions/Referencer.png"
290
            id="org.txm.rcp.editors.referencer.ReferencerEditor"
291
            name="%editor.name.14">
292
      </editor>
293
      <editor
294 271
            class="org.txm.rcp.editors.imports.ImportFormEditor"
295 272
            default="false"
296 273
            icon="icons/objects/books.png"
......
405 382
      </page>
406 383
      <page
407 384
            category="org.txm.rcp.preferences.UserPreferencePage"
408
            class="org.txm.rcp.preferences.ReferencerPreferencePage"
409
            id="org.txm.rcp.preferences.ReferencerPreferencePage"
410
            name="%page.name.16">
411
      </page>
412
      <page
413
            category="org.txm.rcp.preferences.UserPreferencePage"
414 385
            class="org.txm.rcp.preferences.FileExplorerPreferencePage"
415 386
            id="org.txm.rcp.preferences.FileExplorerPreferencePage"
416 387
            name="%page.name.2">
......
665 636
                              definitionId="OneCooccurrenceSelected">
666 637
                        </reference>
667 638
                        <reference
668
                              definitionId="OneReferencerSelected">
669
                        </reference>
670
                        <reference
671 639
                              definitionId="OneProgressionSelected">
672 640
                        </reference>
673 641
                        <reference
......
1120 1088
                              definitionId="OneCooccurrenceSelected">
1121 1089
                        </reference>
1122 1090
                        <reference
1123
                              definitionId="OneReferencerSelected">
1124
                        </reference>
1125
                        <reference
1126 1091
                              definitionId="OneProgressionSelected">
1127 1092
                        </reference>
1128 1093
                        <reference
......
1191 1156
                  </reference>
1192 1157
               </visibleWhen>
1193 1158
            </command>
1194
            
1195
            <command
1196
                  commandId="org.txm.rcp.commands.function.ComputeReferencer"
1197
                  icon="icons/functions/Referencer.png"
1198
                  label="%command.label.108"
1199
                  style="push"
1200
                  tooltip="%command.tooltip.62">
1201
               <visibleWhen
1202
                     checkEnabled="false">
1203
                  <reference
1204
                        definitionId="OneCorpusSelected">
1205
                  </reference>
1206
               </visibleWhen>
1207
            </command>
1208 1159
            <separator
1209 1160
                  name="menu.tools.stats"
1210 1161
                  visible="true">
......
1544 1495
                           definitionId="OneIndexSelected">
1545 1496
                     </reference>
1546 1497
                     <reference
1547
                           definitionId="OneReferencerSelected">
1548
                     </reference>
1549
                     <reference
1550 1498
                           definitionId="OneProgressionSelected">
1551 1499
                     </reference>
1552 1500
                     <reference
......
1720 1668
                  </reference>
1721 1669
               </visibleWhen>
1722 1670
            </command>
1723
            <command
1724
                  commandId="org.txm.rcp.commands.function.ComputeReferencer"
1725
                  icon="icons/functions/Referencer.png"
1726
                  label="%command.label.108"
1727
                  style="push"
1728
                  tooltip="%command.tooltip.63">
1729
               <visibleWhen
1730
                     checkEnabled="false">
1731
                  <reference
1732
                        definitionId="OneCorpusSelected">
1733
                  </reference>
1734
               </visibleWhen>
1735
            </command>
1736 1671
            <separator
1737 1672
                  name="org.txm.rcp.separator4"
1738 1673
                  visible="true">
......
2288 2223
                           definitionId="OneCooccurrenceSelected">
2289 2224
                     </reference>
2290 2225
                     <reference
2291
                           definitionId="OneReferencerSelected">
2292
                     </reference>
2293
                     <reference
2294 2226
                           definitionId="OneProgressionSelected">
2295 2227
                     </reference>
2296 2228
                     <reference
......
2444 2376
               </reference>
2445 2377
            </visibleWhen>
2446 2378
         </command>
2447
         <command
2448
               commandId="org.txm.rcp.commands.function.ComputeReferencer"
2449
               icon="icons/functions/Referencer.png"
2450
               label="%command.label.108"
2451
               style="push"
2452
               tooltip="%command.tooltip.62">
2453
            <visibleWhen
2454
                  checkEnabled="false">
2455
               <reference
2456
                     definitionId="OneCorpusSelected">
2457
               </reference>
2458
            </visibleWhen>
2459
         </command>
2460 2379
         <separator
2461 2380
               name="org.txm.rcp.separator54"
2462 2381
               visible="true">
......
2631 2550
         </command>
2632 2551
      </menuContribution>
2633 2552
      <menuContribution
2634
            locationURI="popup:org.txm.rcp.editors.referencer.ReferencerEditor">
2635
         <command
2636
               commandId="org.txm.rcp.commands.link.ReferencerToConc"
2637
               label="%command.label.73"
2638
               style="push">
2639
         </command>
2640
      </menuContribution>
2641
      <menuContribution
2642 2553
            locationURI="popup:org.txm.rcp.views.QueriesView">
2643 2554
         <command
2644 2555
               commandId="org.txm.rcp.commands.queryview.Copy"
......
3253 3164
            name="%command.name.85">
3254 3165
      </command>
3255 3166
      <command
3256
            categoryId="org.txm.rcp.category.txm"
3257
            defaultHandler="org.txm.rcp.commands.function.ComputeReferencer"
3258
            id="org.txm.rcp.commands.function.ComputeReferencer"
3259
            name="%command.name.44">
3260
      </command>
3261
      <command
3262 3167
            defaultHandler="org.txm.rcp.commands.function.ExportResult"
3263 3168
            id="org.txm.rcp.commands.function.ExportResult"
3264 3169
            name="%command.name.24">
......
3300 3205
            name="%command.name.43">
3301 3206
      </command>
3302 3207
      <command
3303
            defaultHandler="org.txm.rcp.commands.link.ReferencerToConc"
3304
            id="org.txm.rcp.commands.link.ReferencerToConc"
3305
            name="%command.name.57">
3306
      </command>
3307
      <command
3308 3208
            defaultHandler="org.txm.rcp.commands.link.LexiconToIndex"
3309 3209
            id="org.txm.rcp.commands.link.LexiconToIndex"
3310 3210
            name="%command.name.58">
......
3601 3501
                     <reference
3602 3502
                           definitionId="OneIndexSelected">
3603 3503
                     </reference>
3604
                     <reference
3605
                           definitionId="OneReferencerSelected">
3606
                     </reference>
3607 3504
                  </or>
3608 3505
               </visibleWhen>
3609 3506
            </definition>
......
3629 3526
                  </iterate>
3630 3527
               </with>
3631 3528
            </definition>
3529
           
3632 3530
            <definition
3633
                  id="OneReferencerSelected">
3634
               <with
3635
                     variable="selection">
3636
                  <iterate
3637
                        ifEmpty="false"
3638
                        operator="and">
3639
                     <instanceof
3640
                           value="org.txm.functions.referencer.Referencer">
3641
                     </instanceof>
3642
                  </iterate>
3643
               </with>
3644
            </definition>
3645
            <definition
3646 3531
                  id="OneQueryLogSelected">
3647 3532
               <with
3648 3533
                     variable="selection">

Also available in: Unified diff