Statistiques
| Révision :

root / tmp / org.txm.statsengine.r.rcp / plugin.xml @ 3112

Historique | Voir | Annoter | Télécharger (11,78 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
               </or>
147
            </visibleWhen>
148
         </command>
149
      </menuContribution>
150
      <menuContribution
151
            allPopups="false"
152
            locationURI="toolbar:org.txm.rcp.toolbartools">
153
         <command
154
               commandId="org.txm.statsengine.r.rcp.handlers.SendToRCommand"
155
               icon="icons/SendToR.png"
156
               style="push">
157
            <visibleWhen
158
                  checkEnabled="false">
159
               <or>
160
                  <reference
161
                        definitionId="OneConcordanceSelected">
162
                  </reference>
163
                  <reference
164
                        definitionId="OneLexiconSelected">
165
                  </reference>
166
                  <reference
167
                        definitionId="OneIndexSelected">
168
                  </reference>
169
                  <reference
170
                        definitionId="OneCooccurrenceSelected">
171
                  </reference>
172
                  <reference
173
                        definitionId="OneReferencerSelected">
174
                  </reference>
175
                  <reference
176
                        definitionId="OneCorpusSelected">
177
                  </reference>
178
                  <reference
179
                        definitionId="OnePartitionIndexSelected">
180
                  </reference>
181
               </or>
182
            </visibleWhen>
183
         </command>
184
      </menuContribution>
185
      <menuContribution
186
            allPopups="false"
187
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.tools.misc">
188
         <command
189
               commandId="org.txm.statsengine.r.rcp.handlers.SendToRCommand"
190
               icon="icons/SendToR.png"
191
               style="push">
192
            <visibleWhen
193
                  checkEnabled="false">
194
               <or>
195
                  <reference
196
                        definitionId="OneConcordanceSelected">
197
                  </reference>
198
                  <reference
199
                        definitionId="OneLexiconSelected">
200
                  </reference>
201
                  <reference
202
                        definitionId="OneIndexSelected">
203
                  </reference>
204
                  <reference
205
                        definitionId="OneCooccurrenceSelected">
206
                  </reference>
207
                  <reference
208
                        definitionId="OneReferencerSelected">
209
                  </reference>
210
                  <reference
211
                        definitionId="OneCorpusSelected">
212
                  </reference>
213
                  <reference
214
                        definitionId="OnePartitionIndexSelected">
215
                  </reference>
216
               </or>
217
            </visibleWhen>
218
         </command>
219
      </menuContribution>
220
      <menuContribution
221
            allPopups="false"
222
            locationURI="menu:menu.help.documentation">
223
            <command
224
                  commandId="org.txm.rcp.commands.R.ShowSvgHelp"
225
                  label="%command.label.141"
226
                  style="push"
227
                  tooltip="%command.tooltip.83">
228
            </command>
229
            <command
230
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
231
                  label="R documentation"
232
                  style="push"
233
                  tooltip="R documentation">
234
               <parameter
235
                     name="org.txm.rcp.commands.commandParameter3"
236
                     value="https://www.rdocumentation.org">
237
               </parameter>
238
            </command>
239
      </menuContribution>
240
      <menuContribution
241
            allPopups="false"
242
            locationURI="toolbar:org.txm.rcp.toolbarscript">
243
            <command
244
                  commandId="org.txm.rcp.commands.R.OpenEmptyEditor"
245
                  label="%command.label.142"
246
                  style="push"
247
                  tooltip="%command.tooltip.84">
248
               <visibleWhen
249
                     checkEnabled="false">
250
                  <reference
251
                        definitionId="RPerspectiveSelected">
252
                  </reference>
253
               </visibleWhen>
254
            </command>
255
      </menuContribution>
256
      <menuContribution
257
            allPopups="false"
258
            locationURI="menu:menu.display.perspectives">
259
         <command
260
               commandId="org.eclipse.ui.perspectives.showPerspective"
261
               label="R"
262
               style="push">
263
            <parameter
264
                  name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
265
                  value="org.txm.statsengine.r.rcp.perspectives.RPerspective">
266
            </parameter>
267
         </command>
268
      </menuContribution>
269
   </extension>
270
   <extension
271
         point="org.eclipse.ui.views">
272
               <view
273
            allowMultiple="false"
274
            category="org.txm.rcp"
275
            class="org.txm.statsengine.r.rcp.views.RConsole"
276
            icon="icons/R.png"
277
            id="org.txm.statsengine.r.rcp.views.RConsole"
278
            name="%view.name.6"
279
            restorable="true">
280
      </view>
281
               <view
282
                     category="org.txm.rcp"
283
                     class="org.txm.statsengine.r.rcp.views.RVariablesView"
284
                     icon="icons/R.png"
285
                     id="org.txm.statsengine.r.rcp.views.RVariablesView"
286
                     name="%view.name.5"
287
                     restorable="true">
288
               </view>
289
         
290
   </extension>
291
   <extension
292
         point="org.eclipse.ui.decorators">
293
      <decorator
294
            class=" org.txm.statsengine.r.rcp.decorators.RDecorator"
295
            icon="icons/decorators/R.png"
296
            id="org.txm.rcp.decorators.RDecorator"
297
            label="%decorator.label"
298
            lightweight="false"
299
            location="TOP_LEFT"
300
            objectClass="java.lang.Object"
301
            state="true">
302
      </decorator>
303
   </extension>
304
   <extension
305
         point="org.eclipse.ui.perspectives">
306
               <perspective
307
            class="org.txm.statsengine.r.rcp.perspectives.RPerspective"
308
            icon="icons/logos/Rcran.png"
309
            id="org.txm.statsengine.r.rcp.perspectives.RPerspective"
310
            name="%perspective.name.0">
311
      </perspective>
312
         
313
         
314
   </extension>
315
   <extension
316
         point="org.eclipse.core.expressions.definitions">
317
      <definition
318
            id="RPerspectiveSelected">
319
         <with
320
               variable="activeWorkbenchWindow.activePerspective">
321
            <equals
322
                  value="org.txm.statsengine.r.rcp.perspectives.RPerspective">
323
            </equals>
324
         </with>
325
      </definition>
326
   </extension>
327

    
328
</plugin>