Statistics
| Revision:

root / tmp / org.txm.searchengine.cqp.rcp / plugin.xml @ 674

History | View | Annotate | Download (13 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension
5
         point="org.eclipse.ui.commands">
6
         <command
7
            categoryId="org.eclipse.ui.category.navigate"
8
            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.OpenBiblio"
9
            id="org.txm.searchengine.cqp.rcp.handlers.base.OpenBiblio"
10
            name="%command.name.63">
11
      </command>
12
            <command
13
            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus"
14
            id="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus"
15
            name="%command.name.52">
16
      </command>
17
      <command
18
            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.CreatePartition"
19
            id="org.txm.searchengine.cqp.rcp.handlers.base.CreatePartition"
20
            name="%command.name.2">
21
         <commandParameter
22
               id="CorpusParameter"
23
               name="%commandParameter.name.0"
24
               optional="true">
25
         </commandParameter>
26
      </command>
27
      <command
28
            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
29
            id="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
30
            name="Subcorpus">
31
         <commandParameter
32
               id="CorpusParameter"
33
               name="%commandParameter.name.0"
34
               optional="true">
35
         </commandParameter>
36
      </command>
37
      <command
38
            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.ComputeInformation"
39
            id="org.txm.searchengine.cqp.rcp.handlers.ComputeInformation"
40
            name="Information">
41
      </command>
42
   </extension>
43
   <extension
44
         point="org.eclipse.ui.menus">
45
            <menuContribution
46
            locationURI="popup:org.txm.rcp.views.BasesView">
47
         <command
48
               commandId="org.txm.rcp.commands.workspace.AddProject"
49
               label="%command.label.36"
50
               style="push">
51
            <visibleWhen
52
                  checkEnabled="false">
53
               <reference
54
                     definitionId="OneProjectSelected">
55
               </reference>
56
            </visibleWhen>
57
         </command>
58
         <command
59
               commandId="org.txm.rcp.commands.workspace.AddBase"
60
               label="%command.label.37"
61
               style="push">
62
            <visibleWhen
63
                  checkEnabled="false">
64
               <reference
65
                     definitionId="OneProjectSelected">
66
               </reference>
67
            </visibleWhen>
68
         </command>       
69
         <separator
70
               name="org.txm.rcp.separator1">
71
         </separator>
72
         <command
73
               commandId="org.txm.rcp.commands.base.DeleteInCorpora"
74
               icon="icons/functions/delete.png"
75
               label="%command.label.65"
76
               style="push"
77
               tooltip="%command.tooltip.33">
78
            <visibleWhen
79
                  checkEnabled="false">
80
               <or>
81
                  <reference
82
                        definitionId="OnePartitionSelected">
83
                  </reference>
84
                  <reference
85
                        definitionId="OneSubCorpusSelected">
86
                  </reference>
87
                  <reference
88
                        definitionId="OneBaseSelected">
89
                  </reference>
90
                  <reference
91
                        definitionId="OneIndexSelected">
92
                  </reference>
93
                  <reference
94
                        definitionId="OneLexiconSelected">
95
                  </reference>
96
                  <reference
97
                        definitionId="OneConcordanceSelected">
98
                  </reference>
99
                  <reference
100
                        definitionId="OneCASelected">
101
                  </reference>
102
                  <reference
103
                        definitionId="OneSpecificitiesResultSelected">
104
                  </reference>
105
                  <reference
106
                        definitionId="OneMainCorpusSelected">
107
                  </reference>
108
               </or>
109
            </visibleWhen>
110
         </command>
111
         <command
112
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.OpenBiblio"
113
               icon="icons/functions/biblio.png"
114
               label="%command.label.148"
115
               style="push"
116
               tooltip="%command.tooltip.91">
117
            <visibleWhen
118
                  checkEnabled="false">
119
               <or>
120
                  <reference
121
                        definitionId="OneBaseSelected">
122
                  </reference>
123
                  <reference
124
                        definitionId="OneTextSelected">
125
                  </reference>
126
               </or>
127
            </visibleWhen>
128
         </command>
129
      </menuContribution>
130
      <menuContribution
131
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.export">
132
         <command
133
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus"
134
               icon="icons/functions/compress.png"
135
               label="%command.name.52"
136
               style="push"
137
               tooltip="%command.tooltip.71">
138
            <visibleWhen
139
                  checkEnabled="false">
140
               <reference
141
                     definitionId="OneMainCorpusSelected">
142
               </reference>
143
            </visibleWhen>
144
         </command>
145
            </menuContribution>
146
      <menuContribution
147
            locationURI="menu:menu.file.export">
148
         <command
149
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus"
150
               icon="icons/functions/compress.png"
151
               label="%command.name.52"
152
               style="push"
153
               tooltip="%command.tooltip.67">
154
            <visibleWhen
155
                  checkEnabled="false">
156
               <reference
157
                     definitionId="OneMainCorpusSelected">
158
               </reference>
159
            </visibleWhen>
160
         </command>
161
      </menuContribution>
162
      <menuContribution
163
            allPopups="true"
164
            locationURI="toolbar:org.txm.rcp.toolbarfile">
165
            <command
166
                  commandId="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus"
167
                  icon="icons/functions/compress.png"
168
                  label="%command.name.52"
169
                  style="push"
170
                  tooltip="%command.tooltip.71">
171
               <visibleWhen
172
                     checkEnabled="false">
173
                  <reference
174
                        definitionId="OneMainCorpusSelected">
175
                  </reference>
176
               </visibleWhen>
177
            </command>
178
      </menuContribution>
179
      <menuContribution
180
            locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.synopticedition.rcp.handlers.OpenEdition">
181
            <command
182
                  commandId="org.txm.searchengine.cqp.rcp.handlers.ComputeInformation"
183
                  icon="icons/functions/information.png"
184
                  style="push"
185
                  tooltip="%command.tooltip.60">
186
               <visibleWhen
187
                     checkEnabled="false">
188
                  <reference
189
                        definitionId="OneCorpusSelected">
190
                  </reference>
191
               </visibleWhen>
192
            </command>
193
         <command
194
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
195
               icon="icons/functions/subcorpus.png"
196
               style="push">
197
            <visibleWhen
198
                  checkEnabled="false">
199
               <reference
200
                     definitionId="OneCorpusSelected">
201
               </reference>
202
            </visibleWhen>
203
         </command>
204
                        <command
205
                  commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreatePartition"
206
                  icon="icons/functions/partition.png"
207
                  style="push"
208
                  tooltip="%command.tooltip.4">
209
               <visibleWhen
210
                     checkEnabled="false">
211
                  <reference
212
                        definitionId="OneCorpusSelected">
213
                  </reference>
214
               </visibleWhen>
215
            </command>
216
      </menuContribution>
217
      <menuContribution
218
            locationURI="toolbar:org.txm.rcp.toolbarcorpus">
219
         <command
220
               commandId="org.txm.searchengine.cqp.rcp.handlers.ComputeInformation"
221
               icon="icons/functions/information.png"
222
               style="push"
223
               tooltip="%command.tooltip.60">
224
            <visibleWhen
225
                  checkEnabled="false">
226
               <reference
227
                     definitionId="OnePartitionSelected">
228
               </reference>
229
            </visibleWhen>
230
         </command>
231
      </menuContribution>
232
      <menuContribution
233
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView">
234
            <command
235
                  commandId="org.txm.searchengine.cqp.rcp.handlers.ComputeInformation"
236
                  icon="icons/functions/information.png"
237
                  style="push">
238
               <visibleWhen
239
                     checkEnabled="false">
240
                  <reference
241
                        definitionId="OneCorpusSelected">
242
                  </reference>
243
               </visibleWhen>
244
            </command>
245
         <command
246
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
247
               icon="icons/functions/subcorpus.png"
248
               style="push">
249
            <visibleWhen
250
                  checkEnabled="false">
251
               <reference
252
                     definitionId="OneCorpusSelected">
253
               </reference>
254
            </visibleWhen>
255
         </command>
256
         <command
257
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreatePartition"
258
               icon="icons/functions/partition.png"
259
               style="push">
260
            <visibleWhen
261
                  checkEnabled="false">
262
               <reference
263
                     definitionId="OneCorpusSelected">
264
               </reference>
265
            </visibleWhen>
266
         </command>
267
      </menuContribution>
268
      <menuContribution
269
            locationURI="menu:menu.corpus">
270
            <command
271
                  commandId="org.txm.searchengine.cqp.rcp.handlers.ComputeInformation"
272
                  icon="icons/functions/information.png"
273
                  style="push">
274
               <visibleWhen
275
                     checkEnabled="false">
276
                  <reference
277
                        definitionId="OneCorpusSelected">
278
                  </reference>
279
               </visibleWhen>
280
            </command>
281
         <command
282
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
283
               icon="icons/functions/subcorpus.png"
284
               style="push">
285
            <visibleWhen
286
                  checkEnabled="false">
287
               <reference
288
                     definitionId="OneCorpusSelected">
289
               </reference>
290
            </visibleWhen>
291
         </command>
292
         <command
293
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreatePartition"
294
               icon="icons/functions/partition.png"
295
               style="push">
296
            <visibleWhen
297
                  checkEnabled="false">
298
               <reference
299
                     definitionId="OneCorpusSelected">
300
               </reference>
301
            </visibleWhen>
302
         </command>
303
      </menuContribution>
304
   </extension>
305
   <extension
306
         point="org.eclipse.ui.preferencePages">
307
      <page
308
            category="org.txm.rcp.preferences.AdvancePreferencePage"
309
            class="org.txm.searchengine.cqp.rcp.preferences.CQPPreferencePage"
310
            id="org.txm.searchengine.cqp.rcp.preferences.CQPPreferencePage"
311
            name="CQP">
312
      </page>
313
      <page
314
            category="org.txm.rcp.preferences.UserPreferencePage"
315
            class="org.txm.rcp.preferences.DiagnosticPreferencePage"
316
            id="org.txm.rcp.preferences.DiagnosticPreferencePage"
317
            name="%page.name.9">
318
      </page>
319
   </extension>
320
   <extension
321
         point="org.eclipse.ui.editors">
322
      <editor
323
            class="org.txm.searchengine.cqp.rcp.editors.InformationEditor"
324
            default="false"
325
            icon="icons/functions/biblio.png"
326
            id="org.txm.searchengine.cqp.rcp.editors.InformationEditor"
327
            name="Information">
328
      </editor>
329
   </extension>
330
   <extension
331
         point="org.eclipse.core.runtime.adapters">
332
      <factory
333
            adaptableType="org.txm.searchengine.cqp.core.functions.information.Information"
334
            class="org.txm.searchengine.cqp.rcp.adapters.InformationAdapterFactory">
335
         <adapter
336
               type="org.eclipse.ui.model.IWorkbenchAdapter">
337
         </adapter>
338
      </factory>
339
   </extension>
340
   <extension
341
         point="org.eclipse.core.runtime.adapters">
342
      <factory
343
            adaptableType="org.txm.searchengine.cqp.corpus.Corpus"
344
            class="org.txm.searchengine.cqp.rcp.adapters.CorpusAdapterFactory">
345
         <adapter
346
               type="org.eclipse.ui.model.IWorkbenchAdapter">
347
         </adapter>
348
      </factory>
349
   </extension>
350

    
351
</plugin>