Statistics
| Revision:

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

History | View | Annotate | Download (10.3 kB)

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

    
296
</plugin>