Révision 381

tmp/org.txm.rcp/plugin.xml (revision 381)
206 206
		class="org.txm.rcp.AdapterFactory">
207 207
		<adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
208 208
	</factory>
209
	<factory 
210
		adaptableType="org.txm.functions.concordances.Concordance" 
211
		class="org.txm.rcp.AdapterFactory">
212
		<adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
213
	</factory>
209

  
210

  
211

  
214 212
 <factory
213
       adaptableType="org.txm.functions.referencer.Referencer"
214
       class="org.txm.rcp.AdapterFactory">
215
    <adapter
216
          type="org.eclipse.ui.model.IWorkbenchAdapter">
217
    </adapter>
218
 </factory>
219
 <factory
215 220
       adaptableType="org.txm.functions.internal.InternalView"
216 221
       class="org.txm.rcp.AdapterFactory">
217 222
    <adapter
......
241 246
            name="%editor.name.1">
242 247
      </editor>
243 248
      <editor
244
            class="org.txm.rcp.editors.concordances.ConcordancesEditor"
245
            default="false"
246
            icon="icons/functions/Concordances.png"
247
            id="org.txm.rcp.editors.ConcordancesEditor"
248
            name="%editor.name.2"/>
249
      <editor
250 249
            class="org.txm.rcp.editors.TxtEditor"
251 250
            contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
252 251
            default="false"
......
268 267
            name="%editor.name.6">
269 268
      </editor>
270 269
      <editor
270
            class="org.txm.rcp.editors.parabrowser.ParaBrowserEditor"
271
            default="false"
272
            id="org.txm.rcp.editors.parabrowser.ParaBrowserEditor"
273
            name="%editor.name.8">
274
      </editor>
275
      <editor
276
            class="org.txm.rcp.editors.referencer.ReferencerEditor"
277
            default="false"
278
            icon="icons/functions/Referencer.png"
279
            id="org.txm.rcp.editors.referencer.ReferencerEditor"
280
            name="%editor.name.14">
281
      </editor>
282
      <editor
271 283
            class="org.txm.rcp.editors.imports.ImportFormEditor"
272 284
            default="false"
273 285
            icon="icons/objects/books.png"
......
335 347
            name="%page.name.0">
336 348
      </page>
337 349
      <page
338
            category="org.txm.rcp.preferences.UserPreferencePage"
339
            class="org.txm.rcp.preferences.ConcordancerPreferencePage"
340
            id="org.txm.rcp.preferences.ConcordancerPreferencePage"
341
            name="%page.name.1"/>
342
      <page
343 350
            category="org.txm.rcp.preferences.AdvancePreferencePage"
344 351
            class="org.txm.rcp.preferences.CQPPreferencePage"
345 352
            id="org.txm.rcp.preferences.CQPPreferencePage"
......
382 389
      </page>
383 390
      <page
384 391
            category="org.txm.rcp.preferences.UserPreferencePage"
392
            class="org.txm.rcp.preferences.ReferencerPreferencePage"
393
            id="org.txm.rcp.preferences.ReferencerPreferencePage"
394
            name="%page.name.16">
395
      </page>
396
      <page
397
            category="org.txm.rcp.preferences.UserPreferencePage"
385 398
            class="org.txm.rcp.preferences.FileExplorerPreferencePage"
386 399
            id="org.txm.rcp.preferences.FileExplorerPreferencePage"
387 400
            name="%page.name.2">
......
636 649
                              definitionId="OneCooccurrenceSelected">
637 650
                        </reference>
638 651
                        <reference
652
                              definitionId="OneReferencerSelected">
653
                        </reference>
654
                        <reference
639 655
                              definitionId="OneProgressionSelected">
640 656
                        </reference>
641 657
                        <reference
......
1088 1104
                              definitionId="OneCooccurrenceSelected">
1089 1105
                        </reference>
1090 1106
                        <reference
1107
                              definitionId="OneReferencerSelected">
1108
                        </reference>
1109
                        <reference
1091 1110
                              definitionId="OneProgressionSelected">
1092 1111
                        </reference>
1093 1112
                        <reference
......
1143 1162
         <menu
1144 1163
               id="menu.tools"
1145 1164
               label="%menu.label.6">
1165
            
1146 1166
            <command
1147
                  commandId="org.txm.rcp.commands.function.ComputeConcordance"
1148
                  icon="icons/functions/Concordances.png"
1149
                  label="%command.label.11"
1167
                  commandId="org.txm.rcp.commands.function.ComputeReferencer"
1168
                  icon="icons/functions/Referencer.png"
1169
                  label="%command.label.108"
1150 1170
                  style="push"
1151
                  tooltip="%command.tooltip.7">
1171
                  tooltip="%command.tooltip.62">
1152 1172
               <visibleWhen
1153 1173
                     checkEnabled="false">
1154 1174
                  <reference
......
1495 1515
                           definitionId="OneIndexSelected">
1496 1516
                     </reference>
1497 1517
                     <reference
1518
                           definitionId="OneReferencerSelected">
1519
                     </reference>
1520
                     <reference
1498 1521
                           definitionId="OneProgressionSelected">
1499 1522
                     </reference>
1500 1523
                     <reference
......
1656 1679
         <toolbar
1657 1680
               id="org.txm.rcp.toolbartools">
1658 1681
            <command
1659
                  commandId="org.txm.rcp.commands.function.ComputeConcordance"
1660
                  icon="icons/functions/Concordances.png"
1661
                  label="%command.label.11"
1682
                  commandId="org.txm.rcp.commands.function.ComputeReferencer"
1683
                  icon="icons/functions/Referencer.png"
1684
                  label="%command.label.108"
1662 1685
                  style="push"
1663
                  tooltip="%command.tooltip.7">
1686
                  tooltip="%command.tooltip.63">
1664 1687
               <visibleWhen
1665 1688
                     checkEnabled="false">
1666 1689
                  <reference
......
2223 2246
                           definitionId="OneCooccurrenceSelected">
2224 2247
                     </reference>
2225 2248
                     <reference
2249
                           definitionId="OneReferencerSelected">
2250
                     </reference>
2251
                     <reference
2226 2252
                           definitionId="OneProgressionSelected">
2227 2253
                     </reference>
2228 2254
                     <reference
......
2364 2390
               visible="true">
2365 2391
         </separator>
2366 2392
         <command
2367
               commandId="org.txm.rcp.commands.function.ComputeConcordance"
2368
               icon="icons/functions/Concordances.png"
2369
               label="%command.label.11"
2393
               commandId="org.txm.rcp.commands.function.ComputeReferencer"
2394
               icon="icons/functions/Referencer.png"
2395
               label="%command.label.108"
2370 2396
               style="push"
2371
               tooltip="%command.tooltip.7">
2397
               tooltip="%command.tooltip.62">
2372 2398
            <visibleWhen
2373 2399
                  checkEnabled="false">
2374 2400
               <reference
......
2524 2550
         </command>
2525 2551
      </menuContribution>
2526 2552
      <menuContribution
2527
            locationURI="popup:org.txm.rcp.editors.cooccurrences.CooccurrencesEditor">
2553
            locationURI="popup:org.txm.rcp.editors.referencer.ReferencerEditor">
2528 2554
         <command
2529
               commandId="org.txm.rcp.commands.link.CooccurrencesToConcordances"
2530
               label="%command.label.102"
2531
               style="push">
2532
         </command>
2533
      </menuContribution>
2534
      <menuContribution
2535
            locationURI="popup:org.txm.rcp.editors.dictionnary.DictionnaryEditor">
2536
         <command
2537
               commandId="org.txm.rcp.commands.link.IndexToConcordance"
2555
               commandId="org.txm.rcp.commands.link.ReferencerToConc"
2538 2556
               label="%command.label.73"
2539 2557
               style="push">
2540 2558
         </command>
2541
         <command
2542
               commandId="org.txm.rcp.commands.link.LexiconToIndex"
2543
               label="%command.label.128"
2544
               style="push">
2545
         </command>
2546
         <command
2547
               commandId="org.txm.rcp.commands.link.IndexToProgression"
2548
               label="%command.label.103"
2549
               style="push">
2550
         </command>
2551 2559
      </menuContribution>
2552 2560
      <menuContribution
2553 2561
            locationURI="popup:org.txm.rcp.views.QueriesView">
......
2798 2806
            </visibleWhen>
2799 2807
         </command>
2800 2808
      </menuContribution>
2801
      <menuContribution
2802
            locationURI="popup:org.txm.rcp.editors.ConcordancesEditor">
2803
         <command
2804
               commandId="org.txm.rcp.commands.editor.DeleteLines"
2805
               label="%command.label.104"
2806
               style="push">
2807
         </command>
2808
      </menuContribution>
2809 2809
   </extension>
2810 2810
   <extension
2811 2811
         id="general"
......
3141 3141
         </commandParameter>
3142 3142
      </command>
3143 3143
      <command
3144
            categoryId="org.txm.rcp.category.txm"
3145
            defaultHandler="org.txm.rcp.commands.function.ComputeConcordance"
3146
            id="org.txm.rcp.commands.function.ComputeConcordance"
3147
            name="%command.name.5">
3148
      </command>
3149
      <command
3150 3144
            defaultHandler="org.txm.rcp.commands.function.ComputeDiagnostic"
3151 3145
            id="org.txm.rcp.commands.base.Diagnostique"
3152 3146
            name="%command.name.23">
......
3164 3158
            name="%command.name.85">
3165 3159
      </command>
3166 3160
      <command
3161
            categoryId="org.txm.rcp.category.txm"
3162
            defaultHandler="org.txm.rcp.commands.function.ComputeReferencer"
3163
            id="org.txm.rcp.commands.function.ComputeReferencer"
3164
            name="%command.name.44">
3165
      </command>
3166
      <command
3167 3167
            defaultHandler="org.txm.rcp.commands.function.ExportResult"
3168 3168
            id="org.txm.rcp.commands.function.ExportResult"
3169 3169
            name="%command.name.24">
......
3187 3187
      <command
3188 3188
            defaultHandler="org.txm.rcp.commands.link.IndexToConcordance"
3189 3189
            id="org.txm.rcp.commands.link.IndexToConcordance"
3190
            name="%command.name.30">
3190
            name="%command.label.73">
3191 3191
      </command>
3192 3192
      <command
3193
            categoryId="Links"
3193 3194
            defaultHandler="org.txm.rcp.commands.link.CooccurrencesToConcordances"
3194 3195
            id="org.txm.rcp.commands.link.CooccurrencesToConcordances"
3195
            name="%command.name.41">
3196
            name="%command.label.102">
3196 3197
      </command>
3197 3198
      <command
3199
            categoryId="Links"
3198 3200
            defaultHandler="org.txm.rcp.commands.link.IndexToProgression"
3199 3201
            id="org.txm.rcp.commands.link.IndexToProgression"
3200
            name="%command.name.42">
3202
            name="%command.label.103">
3201 3203
      </command>
3202 3204
      <command
3203 3205
            defaultHandler="org.txm.rcp.commands.link.IndexToLexicalTable"
......
3205 3207
            name="%command.name.43">
3206 3208
      </command>
3207 3209
      <command
3210
            defaultHandler="org.txm.rcp.commands.link.ReferencerToConc"
3211
            id="org.txm.rcp.commands.link.ReferencerToConc"
3212
            name="%command.name.57">
3213
      </command>
3214
      <command
3208 3215
            defaultHandler="org.txm.rcp.commands.link.LexiconToIndex"
3209 3216
            id="org.txm.rcp.commands.link.LexiconToIndex"
3210
            name="%command.name.58">
3217
            name="%command.label.128">
3211 3218
      </command>
3212 3219
      <command
3213 3220
            defaultHandler="org.txm.rcp.commands.link.IndexToCooccurrence"
......
3215 3222
            name="%command.name.65">
3216 3223
      </command>
3217 3224
      <command
3218
            defaultHandler="org.txm.rcp.commands.link.ToConcordance"
3219
            id="org.txm.rcp.commands.link.ToConcordance"
3220
            name="%command.name.75">
3221
      </command>
3222
      <command
3223
            defaultHandler="org.txm.rcp.commands.link.ToIndex"
3224
            id="org.txm.rcp.commands.link.ToIndex"
3225
            name="%command.name.76">
3226
      </command>
3227
      <command
3228
            defaultHandler="org.txm.rcp.commands.link.ToProgression"
3229
            id="org.txm.rcp.commands.link.ToProgression"
3230
            name="%command.name.77">
3231
      </command>
3232
      <command
3233 3225
            defaultHandler="org.txm.rcp.commands.link.TextToConcordance"
3234 3226
            id="org.txm.rcp.commands.link.TextToConcordance"
3235 3227
            name="%command.name.96">
......
3416 3408
            </test>
3417 3409
         </and>
3418 3410
      </definition>
3419
      <definition
3420
            id="OneConcordanceSelected">
3421
         <with
3422
               variable="selection">
3423
            <iterate
3424
                  ifEmpty="false"
3425
                  operator="and">
3426
               <instanceof
3427
                     value="org.txm.functions.concordances.Concordance">
3428
               </instanceof>
3429
            </iterate>
3430
         </with>
3431
      </definition>
3432 3411
            <definition
3433 3412
                  id="OneProjectSelected">
3434 3413
               <with
......
3501 3480
                     <reference
3502 3481
                           definitionId="OneIndexSelected">
3503 3482
                     </reference>
3483
                     <reference
3484
                           definitionId="OneReferencerSelected">
3485
                     </reference>
3504 3486
                  </or>
3505 3487
               </visibleWhen>
3506 3488
            </definition>
......
3526 3508
                  </iterate>
3527 3509
               </with>
3528 3510
            </definition>
3529
           
3530 3511
            <definition
3512
                  id="OneReferencerSelected">
3513
               <with
3514
                     variable="selection">
3515
                  <iterate
3516
                        ifEmpty="false"
3517
                        operator="and">
3518
                     <instanceof
3519
                           value="org.txm.functions.referencer.Referencer">
3520
                     </instanceof>
3521
                  </iterate>
3522
               </with>
3523
            </definition>
3524
            <definition
3531 3525
                  id="OneQueryLogSelected">
3532 3526
               <with
3533 3527
                     variable="selection">

Formats disponibles : Unified diff