Revision 249 tmp/org.txm.statsengine.r.rcp/plugin.xml

plugin.xml (revision 249)
32 32
            id="ExecuteRText"
33 33
            name="%command.name.46">
34 34
      </command>
35
               <command
36
            defaultHandler="org.txm.statsengine.r.rcp.handlers.SendToR"
37
            id="SendToR"
38
            name="%command.name.53">
39
      </command>
35 40
         
36 41
   </extension>
37 42
   <extension
......
83 88
            </command>
84 89
         </menu>
85 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>
86 187
   </extension>
87 188
   <extension
88 189
         point="org.eclipse.ui.views">

Also available in: Unified diff