root / tmp / org.txm.statsengine.r.rcp / plugin.xml @ 2212
History | View | Annotate | Download (10.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="%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?before=helpSeparator1"> |
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 |
</menuContribution>
|
230 |
<menuContribution
|
231 |
allPopups="false" |
232 |
locationURI="toolbar:org.txm.rcp.toolbarscript"> |
233 |
<command
|
234 |
commandId="org.txm.rcp.commands.R.OpenEmptyEditor" |
235 |
label="%command.label.142" |
236 |
style="push" |
237 |
tooltip="%command.tooltip.84"> |
238 |
<visibleWhen
|
239 |
checkEnabled="false"> |
240 |
<reference
|
241 |
definitionId="RPerspectiveSelected"> |
242 |
</reference>
|
243 |
</visibleWhen>
|
244 |
</command>
|
245 |
</menuContribution>
|
246 |
</extension>
|
247 |
<extension
|
248 |
point="org.eclipse.ui.views"> |
249 |
<view
|
250 |
allowMultiple="false" |
251 |
category="org.txm.rcp" |
252 |
class="org.txm.statsengine.r.rcp.views.RConsole" |
253 |
icon="icons/R.png" |
254 |
id="org.txm.statsengine.r.rcp.views.RConsole" |
255 |
name="%view.name.6" |
256 |
restorable="true"> |
257 |
</view>
|
258 |
<view
|
259 |
category="org.txm.rcp" |
260 |
class="org.txm.statsengine.r.rcp.views.RVariablesView" |
261 |
icon="icons/R.png" |
262 |
id="org.txm.statsengine.r.rcp.views.RVariablesView" |
263 |
name="%view.name.5" |
264 |
restorable="true"> |
265 |
</view>
|
266 |
|
267 |
</extension>
|
268 |
<extension
|
269 |
point="org.eclipse.ui.decorators"> |
270 |
<decorator
|
271 |
class=" org.txm.statsengine.r.rcp.decorators.RDecorator" |
272 |
icon="icons/decorators/R.png" |
273 |
id="org.txm.rcp.decorators.RDecorator" |
274 |
label="%decorator.label" |
275 |
lightweight="false" |
276 |
location="TOP_LEFT" |
277 |
objectClass="java.lang.Object" |
278 |
state="true"> |
279 |
</decorator>
|
280 |
</extension>
|
281 |
<extension
|
282 |
point="org.eclipse.ui.perspectives"> |
283 |
<perspective
|
284 |
class="org.txm.statsengine.r.rcp.perspectives.RPerspective" |
285 |
icon="icons/logos/Rcran.png" |
286 |
id="org.txm.statsengine.r.rcp.perspectives.RPerspective" |
287 |
name="%perspective.name.0"> |
288 |
</perspective>
|
289 |
|
290 |
|
291 |
</extension>
|
292 |
<extension
|
293 |
point="org.eclipse.core.expressions.definitions"> |
294 |
<definition
|
295 |
id="RPerspectiveSelected"> |
296 |
<with
|
297 |
variable="activeWorkbenchWindow.activePerspective"> |
298 |
<equals
|
299 |
value="org.txm.statsengine.r.rcp.perspectives.RPerspective"> |
300 |
</equals>
|
301 |
</with>
|
302 |
</definition>
|
303 |
</extension>
|
304 |
|
305 |
</plugin>
|