Statistics
| Revision:

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

History | View | Annotate | Download (8.9 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="SendToRCommand" 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">
63
         <command
64
               commandId="CheckRPackages"
65
               style="push">
66
         </command>
67
      </menuContribution>
68
      <menuContribution
69
            locationURI="popup:org.txm.rcp.views.RVariablesView">
70
         <command
71
               commandId="org.txm.rcp.commands.R.CopySelection"
72
               label="%command.label.129"
73
               style="push"
74
               tooltip="%command.label.129">
75
         </command>
76
      </menuContribution>
77
      <menuContribution
78
            allPopups="false"
79
            locationURI="menu:menu.display.views">
80
         <command
81
               commandId="org.eclipse.ui.views.showView"
82
               icon="icons/R.png"
83
               label="%view.name.6"
84
               style="push">
85
            <parameter
86
                  name="org.eclipse.ui.views.showView.viewId"
87
                  value="RConsoleView">
88
            </parameter>
89
         </command>
90
         <command
91
               commandId="org.eclipse.ui.views.showView"
92
               icon="icons/R.png"
93
               label="%view.name.5"
94
               style="push">
95
            <parameter
96
                  name="org.eclipse.ui.views.showView.viewId"
97
                  value="RVariablesView">
98
            </parameter>
99
         </command>
100
      </menuContribution>
101
      <menuContribution
102
            locationURI="popup:#TextEditorContext">
103
         <menu
104
               icon="icons/R.png"
105
               label="%menu.label.11">
106
            <command
107
                  commandId="ExecuteRText"
108
                  style="push">
109
            </command>
110
            <command
111
                  commandId="ExecuteRScript"
112
                  style="push">
113
            </command>
114
         </menu>
115
      </menuContribution>
116
      <menuContribution
117
            allPopups="false"
118
            locationURI="menu:menu.tools">
119
         <command
120
               commandId="SendToR"
121
               icon="icons/SendToR.png"
122
               style="push">
123
            <visibleWhen
124
                  checkEnabled="false">
125
               <or>
126
                  <reference
127
                        definitionId="OneConcordanceSelected">
128
                  </reference>
129
                  <reference
130
                        definitionId="OneLexiconSelected">
131
                  </reference>
132
                  <reference
133
                        definitionId="OneIndexSelected">
134
                  </reference>
135
                  <reference
136
                        definitionId="OneCooccurrenceSelected">
137
                  </reference>
138
                  <reference
139
                        definitionId="OneReferencerSelected">
140
                  </reference>
141
                  <reference
142
                        definitionId="OneCorpusSelected">
143
                  </reference>
144
               </or>
145
            </visibleWhen>
146
         </command>
147
      </menuContribution>
148
      <menuContribution
149
            allPopups="false"
150
            locationURI="toolbar:org.txm.rcp.toolbartools">
151
         <command
152
               commandId="SendToR"
153
               icon="icons/SendToR.png"
154
               style="push">
155
            <visibleWhen
156
                  checkEnabled="false">
157
               <or>
158
                  <reference
159
                        definitionId="OneConcordanceSelected">
160
                  </reference>
161
                  <reference
162
                        definitionId="OneLexiconSelected">
163
                  </reference>
164
                  <reference
165
                        definitionId="OneIndexSelected">
166
                  </reference>
167
                  <reference
168
                        definitionId="OneCooccurrenceSelected">
169
                  </reference>
170
                  <reference
171
                        definitionId="OneReferencerSelected">
172
                  </reference>
173
                  <reference
174
                        definitionId="OneCorpusSelected">
175
                  </reference>
176
               </or>
177
            </visibleWhen>
178
         </command>
179
      </menuContribution>
180
      <menuContribution
181
            allPopups="false"
182
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView">
183
         <command
184
               commandId="SendToR"
185
               icon="icons/SendToR.png"
186
               style="push">
187
            <visibleWhen
188
                  checkEnabled="false">
189
               <or>
190
                  <reference
191
                        definitionId="OneConcordanceSelected">
192
                  </reference>
193
                  <reference
194
                        definitionId="OneLexiconSelected">
195
                  </reference>
196
                  <reference
197
                        definitionId="OneIndexSelected">
198
                  </reference>
199
                  <reference
200
                        definitionId="OneCooccurrenceSelected">
201
                  </reference>
202
                  <reference
203
                        definitionId="OneReferencerSelected">
204
                  </reference>
205
                  <reference
206
                        definitionId="OneCorpusSelected">
207
                  </reference>
208
               </or>
209
            </visibleWhen>
210
         </command>
211
      </menuContribution>
212
      <menuContribution
213
            allPopups="false"
214
            locationURI="menu:menu.help">
215
            <command
216
                  commandId="org.txm.rcp.commands.R.ShowSvgHelp"
217
                  label="%command.label.141"
218
                  style="push"
219
                  tooltip="%command.tooltip.83">
220
            </command>
221
      </menuContribution>
222
      <menuContribution
223
            allPopups="false"
224
            locationURI="toolbar:org.txm.rcp.toolbarscript">
225
            <command
226
                  commandId="org.txm.rcp.commands.R.OpenEmptyEditor"
227
                  label="%command.label.142"
228
                  style="push"
229
                  tooltip="%command.tooltip.84">
230
               <visibleWhen
231
                     checkEnabled="false">
232
                  <reference
233
                        definitionId="RPerspectiveSelected">
234
                  </reference>
235
               </visibleWhen>
236
            </command>
237
      </menuContribution>
238
   </extension>
239
   <extension
240
         point="org.eclipse.ui.views">
241
               <view
242
            allowMultiple="false"
243
            category="org.txm.rcp"
244
            class="org.txm.statsengine.r.rcp.views.RConsole"
245
            icon="icons/R.png"
246
            id="RConsoleView"
247
            name="%view.name.6"
248
            restorable="true">
249
      </view>
250
               <view
251
                     category="org.txm.rcp"
252
                     class="org.txm.statsengine.r.rcp.views.RVariablesView"
253
                     icon="icons/R.png"
254
                     id="RVariablesView"
255
                     name="%view.name.5"
256
                     restorable="true">
257
               </view>
258
         
259
   </extension>
260

    
261
</plugin>