Statistics
| Revision:

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

History | View | Annotate | Download (11.7 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.rcp.commands.base.OpenBiblio"
9
            id="org.txm.rcp.commands.base.OpenBiblio"
10
            name="%command.name.63">
11
      </command>
12
            <command
13
            defaultHandler="org.txm.rcp.commands.base.ExportCorpus"
14
            id="org.txm.rcp.commands.base.ExportCorpus"
15
            name="%command.name.52">
16
      </command>
17
      <command
18
            defaultHandler="org.txm.rcp.commands.base.CreatePartition"
19
            id="org.txm.rcp.commands.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.rcp.commands.base.CreateSubCorpus"
29
            id="org.txm.rcp.commands.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.command.ComputeDiagnostic"
39
            id="org.txm.searchengine.cqp.rcp.command.ComputeDiagnostic"
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="HIDEorg.txm.rcp2.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.rcp.commands.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:corporaview.menu.file.export">
132
         <command
133
               commandId="org.txm.rcp.commands.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.rcp.commands.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.rcp.commands.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">
181
            <command
182
                  commandId="org.txm.searchengine.cqp.rcp.command.ComputeDiagnostic"
183
                  icon="icons/functions/diagnostique.png"
184
                  id="menu.corpus.description"
185
                  label="%command.label.48"
186
                  style="push"
187
                  tooltip="%command.tooltip.60">
188
               <visibleWhen
189
                     checkEnabled="false">
190
                  <reference
191
                        definitionId="OneCorpusSelected">
192
                  </reference>
193
               </visibleWhen>
194
            </command>
195
         <command
196
               commandId="org.txm.rcp.commands.base.CreateSubCorpus"
197
               icon="icons/functions/SubCorpus.png"
198
               label="Subcorpus"
199
               style="push">
200
            <visibleWhen
201
                  checkEnabled="false">
202
               <reference
203
                     definitionId="OneCorpusSelected">
204
               </reference>
205
            </visibleWhen>
206
         </command>
207
                        <command
208
                  commandId="org.txm.rcp.commands.base.CreatePartition"
209
                  icon="icons/functions/Partition.png"
210
                  label="%command.label.8"
211
                  style="push"
212
                  tooltip="%command.tooltip.4">
213
               <visibleWhen
214
                     checkEnabled="false">
215
                  <reference
216
                        definitionId="OneCorpusSelected">
217
                  </reference>
218
               </visibleWhen>
219
            </command>
220
      </menuContribution>
221
      <menuContribution
222
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView">
223
            <command
224
                  commandId="org.txm.searchengine.cqp.rcp.command.ComputeDiagnostic"
225
                  icon="icons/functions/diagnostique.png"
226
                  id="menu.corpus.description"
227
                  label="%command.label.48"
228
                  style="push"
229
                  tooltip="%command.tooltip.60">
230
               <visibleWhen
231
                     checkEnabled="false">
232
                  <reference
233
                        definitionId="OneCorpusSelected">
234
                  </reference>
235
               </visibleWhen>
236
            </command>
237
         <command
238
               commandId="org.txm.rcp.commands.base.CreateSubCorpus"
239
               icon="icons/functions/SubCorpus.png"
240
               label="Subcorpus"
241
               style="push">
242
            <visibleWhen
243
                  checkEnabled="false">
244
               <reference
245
                     definitionId="OneCorpusSelected">
246
               </reference>
247
            </visibleWhen>
248
         </command>
249
         <command
250
               commandId="org.txm.rcp.commands.base.CreatePartition"
251
               icon="icons/functions/Partition.png"
252
               label="%command.label.8"
253
               style="push"
254
               tooltip="%command.tooltip.4">
255
            <visibleWhen
256
                  checkEnabled="false">
257
               <reference
258
                     definitionId="OneCorpusSelected">
259
               </reference>
260
            </visibleWhen>
261
         </command>
262
      </menuContribution>
263
      <menuContribution
264
            locationURI="menu:menu.corpus">
265
            <command
266
                  commandId="org.txm.searchengine.cqp.rcp.command.ComputeDiagnostic"
267
                  icon="icons/functions/diagnostique.png"
268
                  id="menu.corpus.description"
269
                  label="%command.label.48"
270
                  style="push"
271
                  tooltip="%command.tooltip.60">
272
               <visibleWhen
273
                     checkEnabled="false">
274
                  <reference
275
                        definitionId="OneCorpusSelected">
276
                  </reference>
277
               </visibleWhen>
278
            </command>
279
         <command
280
               commandId="org.txm.rcp.commands.base.CreateSubCorpus"
281
               icon="icons/functions/SubCorpus.png"
282
               label="Subcorpus"
283
               style="push">
284
            <visibleWhen
285
                  checkEnabled="false">
286
               <reference
287
                     definitionId="OneCorpusSelected">
288
               </reference>
289
            </visibleWhen>
290
         </command>
291
         <command
292
               commandId="org.txm.rcp.commands.base.CreatePartition"
293
               icon="icons/functions/Partition.png"
294
               label="%command.label.8"
295
               style="push"
296
               tooltip="%command.tooltip.4">
297
            <visibleWhen
298
                  checkEnabled="false">
299
               <reference
300
                     definitionId="OneCorpusSelected">
301
               </reference>
302
            </visibleWhen>
303
         </command>
304
      </menuContribution>
305
   </extension>
306
   <extension
307
         point="org.eclipse.ui.preferencePages">
308
      <page
309
            category="org.txm.rcp.preferences.AdvancePreferencePage"
310
            class="org.txm.searchengine.cqp.rcp.preferences.CQPPreferencePage"
311
            id="org.txm.searchengine.cqp.rcp.preferences.CQPPreferencePage"
312
            name="CQP">
313
      </page>
314
   </extension>
315
   <extension
316
         point="org.eclipse.ui.editors">
317
      <editor
318
            class="org.txm.searchengine.cqp.rcp.editor.DiagnosticEditor"
319
            default="false"
320
            icon="icons/functions/Biblio.png"
321
            id="org.txm.searchengine.cqp.rcp.editor.DiagnosticEditor"
322
            name="Diagnostic">
323
      </editor>
324
   </extension>
325

    
326
</plugin>