Statistics
| Revision:

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

History | View | Annotate | Download (7 kB)

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

    
210
</plugin>