Statistics
| Revision:

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

History | View | Annotate | Download (11.5 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
   </extension>
38
   <extension
39
         point="org.eclipse.ui.menus">
40
            <menuContribution
41
            locationURI="popup:org.txm.rcp.views.BasesView">
42
         <command
43
               commandId="org.txm.rcp.commands.workspace.AddProject"
44
               label="%command.label.36"
45
               style="push">
46
            <visibleWhen
47
                  checkEnabled="false">
48
               <reference
49
                     definitionId="OneProjectSelected">
50
               </reference>
51
            </visibleWhen>
52
         </command>
53
         <command
54
               commandId="org.txm.rcp.commands.workspace.AddBase"
55
               label="%command.label.37"
56
               style="push">
57
            <visibleWhen
58
                  checkEnabled="false">
59
               <reference
60
                     definitionId="OneProjectSelected">
61
               </reference>
62
            </visibleWhen>
63
         </command>       
64
         <separator
65
               name="org.txm.rcp.separator1">
66
         </separator>
67
         <command
68
               commandId="org.txm.rcp.commands.base.DeleteObject"
69
               icon="icons/functions/delete.png"
70
               style="push"
71
               tooltip="%command.tooltip.33">
72
            <visibleWhen
73
                  checkEnabled="false">
74
               <or>
75
                  <reference
76
                        definitionId="OnePartitionSelected">
77
                  </reference>
78
                  <reference
79
                        definitionId="OneSubCorpusSelected">
80
                  </reference>
81
                  <reference
82
                        definitionId="OneBaseSelected">
83
                  </reference>
84
                  <reference
85
                        definitionId="OneIndexSelected">
86
                  </reference>
87
                  <reference
88
                        definitionId="OneLexiconSelected">
89
                  </reference>
90
                  <reference
91
                        definitionId="OneConcordanceSelected">
92
                  </reference>
93
                  <reference
94
                        definitionId="OneCASelected">
95
                  </reference>
96
                  <reference
97
                        definitionId="OneSpecificitiesResultSelected">
98
                  </reference>
99
                  <reference
100
                        definitionId="OneMainCorpusSelected">
101
                  </reference>
102
               </or>
103
            </visibleWhen>
104
         </command>
105
         <command
106
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.OpenBiblio"
107
               icon="icons/functions/biblio.png"
108
               label="%command.label.148"
109
               style="push"
110
               tooltip="%command.tooltip.91">
111
            <visibleWhen
112
                  checkEnabled="false">
113
               <or>
114
                  <reference
115
                        definitionId="OneBaseSelected">
116
                  </reference>
117
                  <reference
118
                        definitionId="OneTextSelected">
119
                  </reference>
120
               </or>
121
            </visibleWhen>
122
         </command>
123
      </menuContribution>
124
      <menuContribution
125
            locationURI="popup:org.txm.rcp.corporaview.export">
126
         <command
127
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus"
128
               icon="icons/functions/compress.png"
129
               label="%command.name.52"
130
               style="push"
131
               tooltip="%command.tooltip.71">
132
            <visibleWhen
133
                  checkEnabled="false">
134
               <reference
135
                     definitionId="OneMainCorpusSelected">
136
               </reference>
137
            </visibleWhen>
138
         </command>
139
            </menuContribution>
140
      <menuContribution
141
            locationURI="menu:menu.file.export">
142
         <command
143
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus"
144
               icon="icons/functions/compress.png"
145
               label="%command.name.52"
146
               style="push"
147
               tooltip="%command.tooltip.67">
148
            <visibleWhen
149
                  checkEnabled="false">
150
               <reference
151
                     definitionId="OneMainCorpusSelected">
152
               </reference>
153
            </visibleWhen>
154
         </command>
155
      </menuContribution>
156
      <menuContribution
157
            allPopups="true"
158
            locationURI="toolbar:org.txm.rcp.toolbarfile">
159
            <command
160
                  commandId="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus"
161
                  icon="icons/functions/compress.png"
162
                  label="%command.name.52"
163
                  style="push"
164
                  tooltip="%command.tooltip.71">
165
               <visibleWhen
166
                     checkEnabled="false">
167
                  <reference
168
                        definitionId="OneMainCorpusSelected">
169
                  </reference>
170
               </visibleWhen>
171
            </command>
172
      </menuContribution>
173
      <menuContribution
174
            locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.synopticedition.rcp.handlers.OpenEdition">
175
            <command
176
                  commandId="org.txm.information.rcp.handlers.ComputeInformation"
177
                  icon="icons/functions/information.png"
178
                  style="push"
179
                  tooltip="%command.tooltip.60">
180
               <visibleWhen
181
                     checkEnabled="false">
182
                  <reference
183
                        definitionId="OneCorpusSelected">
184
                  </reference>
185
               </visibleWhen>
186
            </command>
187
         <command
188
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
189
               icon="icons/functions/subcorpus.png"
190
               style="push">
191
            <visibleWhen
192
                  checkEnabled="false">
193
               <reference
194
                     definitionId="OneCorpusSelected">
195
               </reference>
196
            </visibleWhen>
197
         </command>
198
                        <command
199
                  commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreatePartition"
200
                  icon="icons/functions/partition.png"
201
                  style="push"
202
                  tooltip="%command.tooltip.4">
203
               <visibleWhen
204
                     checkEnabled="false">
205
                  <reference
206
                        definitionId="OneCorpusSelected">
207
                  </reference>
208
               </visibleWhen>
209
            </command>
210
      </menuContribution>
211
      <menuContribution
212
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.corpus.read">
213
            <command
214
                  commandId="org.txm.searchengine.cqp.rcp.handlers.ComputeInformation"
215
                  icon="icons/functions/information.png"
216
                  style="push">
217
               <visibleWhen
218
                     checkEnabled="false">
219
                  <reference
220
                        definitionId="OneCorpusSelected">
221
                  </reference>
222
               </visibleWhen>
223
            </command>
224
      </menuContribution>
225
      <menuContribution
226
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.corpus.manage">
227
         <command
228
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
229
               icon="icons/functions/subcorpus.png"
230
               style="push">
231
            <visibleWhen
232
                  checkEnabled="false">
233
               <reference
234
                     definitionId="OneCorpusSelected">
235
               </reference>
236
            </visibleWhen>
237
         </command>
238
         <command
239
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreatePartition"
240
               icon="icons/functions/partition.png"
241
               style="push">
242
            <visibleWhen
243
                  checkEnabled="false">
244
               <reference
245
                     definitionId="OneCorpusSelected">
246
               </reference>
247
            </visibleWhen>
248
         </command>
249
      </menuContribution>
250
      <menuContribution
251
            locationURI="menu:menu.corpus?after=menu.corpus.build">
252
         <command
253
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
254
               icon="icons/functions/subcorpus.png"
255
               style="push">
256
            <visibleWhen
257
                  checkEnabled="false">
258
               <reference
259
                     definitionId="OneCorpusSelected">
260
               </reference>
261
            </visibleWhen>
262
         </command>
263
         <command
264
               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreatePartition"
265
               icon="icons/functions/partition.png"
266
               style="push">
267
            <visibleWhen
268
                  checkEnabled="false">
269
               <reference
270
                     definitionId="OneCorpusSelected">
271
               </reference>
272
            </visibleWhen>
273
         </command>
274
      </menuContribution>
275
      <menuContribution
276
            locationURI="menu:menu.corpus?after=menu.corpus.read">
277
         <command
278
               commandId="org.txm.information.rcp.handlers.ComputeInformation"
279
               icon="icons/functions/information.png"
280
               style="push">
281
            <visibleWhen
282
                  checkEnabled="false">
283
               <reference
284
                     definitionId="OneCorpusSelected">
285
               </reference>
286
            </visibleWhen>
287
         </command>
288
      </menuContribution>
289
   </extension>
290
   <extension
291
         point="org.eclipse.ui.preferencePages">
292
      <page
293
            category="org.txm.rcp.preferences.AdvancePreferencePage"
294
            class="org.txm.searchengine.cqp.rcp.preferences.CQPPreferencePage"
295
            id="org.txm.searchengine.cqp.rcp.preferences.CQPPreferencePage"
296
            name="CQP">
297
      </page>
298
   </extension>
299
   <extension
300
         point="org.eclipse.core.runtime.adapters">
301
      <factory
302
            adaptableType="org.txm.searchengine.cqp.corpus.Corpus"
303
            class="org.txm.searchengine.cqp.rcp.adapters.CorpusAdapterFactory">
304
         <adapter
305
               type="org.eclipse.ui.model.IWorkbenchAdapter">
306
         </adapter>
307
      </factory>
308
   </extension>
309

    
310
</plugin>