Statistiques
| Révision :

root / TXM / trunk / org.txm.statsengine.r.rcp / plugin.xml @ 3521

Historique | Voir | Annoter | Télécharger (14,35 ko)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>  
4
   <extension-point id="org.txm.statengine.r.rcp.sendtor" name="%extension-point.name" schema="schema/org.txm.statengine.r.rcp.sendtor.exsd"/>
5
   <extension
6
         point="org.eclipse.ui.preferencePages">
7
      <page
8
            category="org.txm.rcp.preferences.AdvancePreferencePage"
9
            class="org.txm.statsengine.r.rcp.preferences.RPreferencePage"
10
            id="org.txm.statsengine.r.rcp.preferences.RPreferencePage"
11
            name="%page.name">
12
      </page>
13
   </extension>
14
   <extension
15
         point="org.eclipse.ui.commands">
16
               <command
17
            defaultHandler="org.txm.rcp.commands.R.CopySelection"
18
            id="org.txm.rcp.commands.R.CopySelection"
19
            name="%command.name.64">
20
      </command>
21
               <command
22
            defaultHandler="org.txm.statsengine.r.rcp.handlers.CheckRPackages"
23
            id="CheckRPackages"
24
            name="%command.name.90">
25
      </command>
26
            <command
27
            defaultHandler="org.txm.rcp.commands.R.OpenEmptyEditor"
28
            id="org.txm.rcp.commands.R.OpenEmptyEditor"
29
            name="%command.name.59">
30
      </command>
31
      <command
32
            defaultHandler="org.txm.rcp.commands.R.ShowSvgHelp"
33
            id="org.txm.rcp.commands.R.ShowSvgHelp"
34
            name="%command.name.61">
35
      </command>
36
                  <command
37
            defaultHandler="org.txm.statsengine.r.rcp.handlers.ReconnectToRWorkspace"
38
            id="ReconnectToRWorkspace"
39
            name="%command.name.93">
40
      </command>
41
               <command
42
            defaultHandler="org.txm.statsengine.r.rcp.handlers.ExecuteRScript"
43
            id="ExecuteRScript"
44
            name="%command.name.45">
45
      </command>
46
      <command
47
            defaultHandler="org.txm.statsengine.r.rcp.handlers.ExecuteRText"
48
            id="ExecuteRText"
49
            name="%command.name.46">
50
      </command>
51
               <command
52
            defaultHandler="org.txm.statsengine.r.rcp.handlers.SendToRCommand"
53
            id="org.txm.statsengine.r.rcp.handlers.SendToRCommand"
54
            name="%command.name.53">
55
      </command>
56
         
57
   </extension>
58
   <extension
59
         point="org.eclipse.ui.menus">
60
      <menuContribution
61
            allPopups="false"
62
            locationURI="menu:menu.file?before=menu.file.separator.close">
63
         <command
64
               commandId="CheckRPackages"
65
               style="push">
66
         </command>
67
      </menuContribution>
68
      <menuContribution
69
            locationURI="popup:org.txm.statsengine.r.rcp.views.RVariablesView">
70
         <command
71
               commandId="org.txm.rcp.commands.R.CopySelection"
72
               label="%command.label.129"
73
               style="push">
74
         </command>
75
      </menuContribution>
76
      <menuContribution
77
            allPopups="false"
78
            locationURI="menu:menu.display.views?before=menu.display.views.separator">
79
         <command
80
               commandId="org.eclipse.ui.views.showView"
81
               icon="icons/R.png"
82
               label="%view.name.6"
83
               style="push">
84
            <parameter
85
                  name="org.eclipse.ui.views.showView.viewId"
86
                  value="org.txm.statsengine.r.rcp.views.RConsole">
87
            </parameter>
88
         </command>
89
         <command
90
               commandId="org.eclipse.ui.views.showView"
91
               icon="icons/R.png"
92
               label="%view.name.5"
93
               style="push">
94
            <parameter
95
                  name="org.eclipse.ui.views.showView.viewId"
96
                  value="org.txm.statsengine.r.rcp.views.RVariablesView">
97
            </parameter>
98
         </command>
99
      </menuContribution>
100
      <menuContribution
101
            locationURI="popup:#TextEditorContext">
102
         <menu
103
               icon="icons/R.png"
104
               label="%menu.label.11">
105
            <command
106
                  commandId="ExecuteRText"
107
                  style="push">
108
            </command>
109
            <command
110
                  commandId="ExecuteRScript"
111
                  style="push">
112
            </command>
113
         </menu>
114
      </menuContribution>
115
      <menuContribution
116
            allPopups="false"
117
            locationURI="menu:menu.tools?before=menu.tools.separator.misc">
118
         <command
119
               commandId="org.txm.statsengine.r.rcp.handlers.SendToRCommand"
120
               icon="icons/SendToR.png"
121
               style="push">
122
            <visibleWhen
123
                  checkEnabled="false">
124
               <or>
125
                  <reference
126
                        definitionId="OneConcordanceSelected">
127
                  </reference>
128
                  <reference
129
                        definitionId="OneLexiconSelected">
130
                  </reference>
131
                  <reference
132
                        definitionId="OneIndexSelected">
133
                  </reference>
134
                  <reference
135
                        definitionId="OneCooccurrenceSelected">
136
                  </reference>
137
                  <reference
138
                        definitionId="OneReferencerSelected">
139
                  </reference>
140
                  <reference
141
                        definitionId="OneCorpusSelected">
142
                  </reference>
143
                  <reference
144
                        definitionId="OnePartitionIndexSelected">
145
                  </reference>
146
                  <reference
147
                        definitionId="OnePartitionSelected">
148
                  </reference>
149
                  <reference
150
                        definitionId="OneLexicalTableSelected">
151
                  </reference>
152
                  <reference
153
                        definitionId="OneCAHSelected">
154
                  </reference>
155
                  <reference
156
                        definitionId="OneCASelected">
157
                  </reference>
158
                  <reference
159
                        definitionId="OneProgressionSelected">
160
                  </reference>
161
                  <reference
162
                        definitionId="OneSpecificitiesResultSelected">
163
                  </reference>
164
                  <reference
165
                        definitionId="OnePartitionDimensionsSelected">
166
                  </reference>
167
               </or>
168
            </visibleWhen>
169
         </command>
170
      </menuContribution>
171
      <menuContribution
172
            allPopups="false"
173
            locationURI="toolbar:org.txm.rcp.toolbartools">
174
         <command
175
               commandId="org.txm.statsengine.r.rcp.handlers.SendToRCommand"
176
               icon="icons/SendToR.png"
177
               style="push">
178
            <visibleWhen
179
                  checkEnabled="false">
180
               <or>
181
                  <reference
182
                        definitionId="OneConcordanceSelected">
183
                  </reference>
184
                  <reference
185
                        definitionId="OneLexiconSelected">
186
                  </reference>
187
                  <reference
188
                        definitionId="OneIndexSelected">
189
                  </reference>
190
                  <reference
191
                        definitionId="OneCooccurrenceSelected">
192
                  </reference>
193
                  <reference
194
                        definitionId="OneReferencerSelected">
195
                  </reference>
196
                  <reference
197
                        definitionId="OneCorpusSelected">
198
                  </reference>
199
                  <reference
200
                        definitionId="OnePartitionIndexSelected">
201
                  </reference>
202
                  <reference
203
                        definitionId="OnePartitionSelected">
204
                  </reference>
205
                  <reference
206
                        definitionId="OneLexicalTableSelected">
207
                  </reference>
208
                  <reference
209
                        definitionId="OneCAHSelected">
210
                  </reference>
211
                  <reference
212
                        definitionId="OneCASelected">
213
                  </reference>
214
                  <reference
215
                        definitionId="OneProgressionSelected">
216
                  </reference>
217
                  <reference
218
                        definitionId="OneSpecificitiesResultSelected">
219
                  </reference>
220
                  <reference
221
                        definitionId="OnePartitionDimensionsSelected">
222
                  </reference>
223
               </or>
224
            </visibleWhen>
225
         </command>
226
      </menuContribution>
227
      <menuContribution
228
            allPopups="false"
229
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.tools.misc">
230
         <command
231
               commandId="org.txm.statsengine.r.rcp.handlers.SendToRCommand"
232
               icon="icons/SendToR.png"
233
               style="push">
234
            <visibleWhen
235
                  checkEnabled="false">
236
               <or>
237
                  <reference
238
                        definitionId="OneConcordanceSelected">
239
                  </reference>
240
                  <reference
241
                        definitionId="OneLexiconSelected">
242
                  </reference>
243
                  <reference
244
                        definitionId="OneIndexSelected">
245
                  </reference>
246
                  <reference
247
                        definitionId="OneCooccurrenceSelected">
248
                  </reference>
249
                  <reference
250
                        definitionId="OneReferencerSelected">
251
                  </reference>
252
                  <reference
253
                        definitionId="OneCorpusSelected">
254
                  </reference>
255
                  <reference
256
                        definitionId="OnePartitionIndexSelected">
257
                  </reference>
258
                  <reference
259
                        definitionId="OnePartitionSelected">
260
                  </reference>
261
                  <reference
262
                        definitionId="OneLexicalTableSelected">
263
                  </reference>
264
                  <reference
265
                        definitionId="OneCAHSelected">
266
                  </reference>
267
                  <reference
268
                        definitionId="OneCASelected">
269
                  </reference>
270
                  <reference
271
                        definitionId="OneProgressionSelected">
272
                  </reference>
273
                  <reference
274
                        definitionId="OneSpecificitiesResultSelected">
275
                  </reference>
276
                  <reference
277
                        definitionId="OnePartitionDimensionsSelected">
278
                  </reference>
279
               </or>
280
            </visibleWhen>
281
         </command>
282
      </menuContribution>
283
      <menuContribution
284
            allPopups="false"
285
            locationURI="menu:menu.help.documentation">
286
            <command
287
                  commandId="org.txm.rcp.commands.R.ShowSvgHelp"
288
                  label="%command.label.141"
289
                  style="push"
290
                  tooltip="%command.tooltip.83">
291
            </command>
292
            <command
293
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
294
                  label="%command.label"
295
                  style="push"
296
                  tooltip="%command.tooltip">
297
               <parameter
298
                     name="org.txm.rcp.commands.commandParameter3"
299
                     value="https://www.rdocumentation.org">
300
               </parameter>
301
            </command>
302
      </menuContribution>
303
      <menuContribution
304
            allPopups="false"
305
            locationURI="toolbar:org.txm.rcp.toolbarscript">
306
            <command
307
                  commandId="org.txm.rcp.commands.R.OpenEmptyEditor"
308
                  label="%command.label.142"
309
                  style="push"
310
                  tooltip="%command.tooltip.84">
311
               <visibleWhen
312
                     checkEnabled="false">
313
                  <reference
314
                        definitionId="RPerspectiveSelected">
315
                  </reference>
316
               </visibleWhen>
317
            </command>
318
      </menuContribution>
319
      <menuContribution
320
            allPopups="false"
321
            locationURI="menu:menu.display.perspectives">
322
         <command
323
               commandId="org.eclipse.ui.perspectives.showPerspective"
324
               icon="icons/logos/Rcran.png"
325
               label="%command.label.0"
326
               style="push">
327
            <parameter
328
                  name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
329
                  value="org.txm.statsengine.r.rcp.perspectives.RPerspective">
330
            </parameter>
331
         </command>
332
      </menuContribution>
333
   </extension>
334
   <extension
335
         point="org.eclipse.ui.views">
336
               <view
337
            allowMultiple="false"
338
            category="org.txm.rcp"
339
            class="org.txm.statsengine.r.rcp.views.RConsole"
340
            icon="icons/R.png"
341
            id="org.txm.statsengine.r.rcp.views.RConsole"
342
            name="%view.name.6"
343
            restorable="true">
344
      </view>
345
               <view
346
                     category="org.txm.rcp"
347
                     class="org.txm.statsengine.r.rcp.views.RVariablesView"
348
                     icon="icons/R.png"
349
                     id="org.txm.statsengine.r.rcp.views.RVariablesView"
350
                     name="%view.name.5"
351
                     restorable="true">
352
               </view>
353
         
354
   </extension>
355
   <extension
356
         point="org.eclipse.ui.decorators">
357
      <decorator
358
            class=" org.txm.statsengine.r.rcp.decorators.RDecorator"
359
            icon="icons/decorators/R.png"
360
            id="org.txm.rcp.decorators.RDecorator"
361
            label="%decorator.label"
362
            lightweight="false"
363
            location="TOP_LEFT"
364
            objectClass="java.lang.Object"
365
            state="true">
366
      </decorator>
367
   </extension>
368
   <extension
369
         point="org.eclipse.ui.perspectives">
370
               <perspective
371
            class="org.txm.statsengine.r.rcp.perspectives.RPerspective"
372
            icon="icons/logos/Rcran.png"
373
            id="org.txm.statsengine.r.rcp.perspectives.RPerspective"
374
            name="%perspective.name.0">
375
      </perspective>
376
         
377
         
378
   </extension>
379
   <extension
380
         point="org.eclipse.core.expressions.definitions">
381
      <definition
382
            id="RPerspectiveSelected">
383
         <with
384
               variable="activeWorkbenchWindow.activePerspective">
385
            <equals
386
                  value="org.txm.statsengine.r.rcp.perspectives.RPerspective">
387
            </equals>
388
         </with>
389
      </definition>
390
   </extension>
391

    
392
</plugin>