Statistics
| Revision:

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

History | View | Annotate | Download (7.1 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.statsengine.r.rcp.handlers.CheckRPackages"
18
            id="CheckRPackages"
19
            name="%command.name.90">
20
      </command>
21
                  <command
22
            defaultHandler="org.txm.statsengine.r.rcp.handlers.ReconnectToRWorkspace"
23
            id="ReconnectToRWorkspace"
24
            name="%command.name.93">
25
      </command>
26
               <command
27
            defaultHandler="org.txm.statsengine.r.rcp.handlers.ExecuteRScript"
28
            id="ExecuteRScript"
29
            name="%command.name.45">
30
      </command>
31
      <command
32
            defaultHandler="org.txm.statsengine.r.rcp.handlers.ExecuteRText"
33
            id="ExecuteRText"
34
            name="%command.name.46">
35
      </command>
36
               <command
37
            defaultHandler="org.txm.statsengine.r.rcp.handlers.SendToRCommand"
38
            id="SendToR"
39
            name="%command.name.53">
40
      </command>
41
         
42
   </extension>
43
   <extension
44
         point="org.eclipse.ui.menus">
45
      <menuContribution
46
            allPopups="false"
47
            locationURI="menu:menu.file">
48
         <command
49
               commandId="CheckRPackages"
50
               style="push">
51
         </command>
52
      </menuContribution>
53
      <menuContribution
54
            allPopups="false"
55
            locationURI="menu:menu.display.views">
56
         <command
57
               commandId="org.eclipse.ui.views.showView"
58
               icon="icons/R.png"
59
               label="%view.name.6"
60
               style="push">
61
            <parameter
62
                  name="org.eclipse.ui.views.showView.viewId"
63
                  value="RConsoleView">
64
            </parameter>
65
         </command>
66
         <command
67
               commandId="org.eclipse.ui.views.showView"
68
               icon="icons/R.png"
69
               label="%view.name.5"
70
               style="push">
71
            <parameter
72
                  name="org.eclipse.ui.views.showView.viewId"
73
                  value="RVariablesView">
74
            </parameter>
75
         </command>
76
      </menuContribution>
77
      <menuContribution
78
            locationURI="popup:#TextEditorContext">
79
         <menu
80
               icon="icons/R.png"
81
               label="%menu.label.11">
82
            <command
83
                  commandId="ExecuteRText"
84
                  style="push">
85
            </command>
86
            <command
87
                  commandId="ExecuteRScript"
88
                  style="push">
89
            </command>
90
         </menu>
91
      </menuContribution>
92
      <menuContribution
93
            allPopups="false"
94
            locationURI="menu:menu.tools">
95
         <command
96
               commandId="SendToR"
97
               icon="icons/SendToR.png"
98
               style="push">
99
            <visibleWhen
100
                  checkEnabled="false">
101
               <or>
102
                  <reference
103
                        definitionId="OneConcordanceSelected">
104
                  </reference>
105
                  <reference
106
                        definitionId="OneLexiconSelected">
107
                  </reference>
108
                  <reference
109
                        definitionId="OneIndexSelected">
110
                  </reference>
111
                  <reference
112
                        definitionId="OneCooccurrenceSelected">
113
                  </reference>
114
                  <reference
115
                        definitionId="OneReferencerSelected">
116
                  </reference>
117
                  <reference
118
                        definitionId="OneCorpusSelected">
119
                  </reference>
120
               </or>
121
            </visibleWhen>
122
         </command>
123
      </menuContribution>
124
      <menuContribution
125
            allPopups="false"
126
            locationURI="toolbar:org.txm.rcp.toolbartools">
127
         <command
128
               commandId="SendToR"
129
               icon="icons/SendToR.png"
130
               style="push">
131
            <visibleWhen
132
                  checkEnabled="false">
133
               <or>
134
                  <reference
135
                        definitionId="OneConcordanceSelected">
136
                  </reference>
137
                  <reference
138
                        definitionId="OneLexiconSelected">
139
                  </reference>
140
                  <reference
141
                        definitionId="OneIndexSelected">
142
                  </reference>
143
                  <reference
144
                        definitionId="OneCooccurrenceSelected">
145
                  </reference>
146
                  <reference
147
                        definitionId="OneReferencerSelected">
148
                  </reference>
149
                  <reference
150
                        definitionId="OneCorpusSelected">
151
                  </reference>
152
               </or>
153
            </visibleWhen>
154
         </command>
155
      </menuContribution>
156
      <menuContribution
157
            allPopups="false"
158
            locationURI="popup:org.txm.rcp.views.CorporaView">
159
         <command
160
               commandId="SendToR"
161
               icon="icons/SendToR.png"
162
               style="push">
163
            <visibleWhen
164
                  checkEnabled="false">
165
               <or>
166
                  <reference
167
                        definitionId="OneConcordanceSelected">
168
                  </reference>
169
                  <reference
170
                        definitionId="OneLexiconSelected">
171
                  </reference>
172
                  <reference
173
                        definitionId="OneIndexSelected">
174
                  </reference>
175
                  <reference
176
                        definitionId="OneCooccurrenceSelected">
177
                  </reference>
178
                  <reference
179
                        definitionId="OneReferencerSelected">
180
                  </reference>
181
                  <reference
182
                        definitionId="OneCorpusSelected">
183
                  </reference>
184
               </or>
185
            </visibleWhen>
186
         </command>
187
      </menuContribution>
188
   </extension>
189
   <extension
190
         point="org.eclipse.ui.views">
191
               <view
192
            allowMultiple="false"
193
            category="org.txm.rcp"
194
            class="org.txm.statsengine.r.rcp.views.RConsole"
195
            icon="icons/R.png"
196
            id="RConsoleView"
197
            name="%view.name.6"
198
            restorable="true">
199
      </view>
200
               <view
201
                     category="org.txm.rcp"
202
                     class="org.txm.statsengine.r.rcp.views.RVariablesView"
203
                     icon="icons/R.png"
204
                     id="RVariablesView"
205
                     name="%view.name.5"
206
                     restorable="true">
207
               </view>
208
         
209
   </extension>
210

    
211
</plugin>