Revision 845 tmp/org.txm.cooccurrence.rcp/plugin.xml

plugin.xml (revision 845)
10 10
            name="%command.name"
11 11
            returnTypeId="org.txm.cooccurrence.core.functions.Cooccurrence">
12 12
      </command>
13
      <command
14
            id="org.txm.cooccurrence.rcp.commands.SendToCooccurrence"
15
            name="%command.name.4">
16
         <commandParameter
17
               id="sendToTargetCommandId"
18
               name="sendToTargetCommandId"
19
               optional="true">
20
         </commandParameter>
21
      </command>
13 22
   </extension>
14 23
   <extension
15 24
         point="org.eclipse.ui.preferencePages">
......
93 102
         </command>
94 103
      </menuContribution>
95 104
      <menuContribution
96
            locationURI="popup:org.txm.cooccurrence.rcp.editors.CooccurrencesEditor">
105
            locationURI="popup:org.txm.index.rcp.editors.IndexEditor">
97 106
         <command
98
               commandId="org.txm.links.rcp.commands.SendToConcordance"
107
               commandId="org.txm.cooccurrence.rcp.commands.SendToCooccurrence"
108
               icon="icons/cooccurrences.png"
109
               label="%command.name.4"
99 110
               style="push">
111
            <parameter
112
                  name="sendToTargetCommandId"
113
                  value="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences">
114
            </parameter>
100 115
         </command>
101 116
      </menuContribution>
102 117
   </extension>
......
138 153
   <extension
139 154
         point="org.eclipse.ui.handlers">
140 155
      <handler
141
            class="org.txm.cooccurrence.rcp.handlers.SendToConcordance"
142
            commandId="org.txm.links.rcp.commands.SendToConcordance">
156
            class="org.txm.cooccurrence.rcp.handlers.SendCooccurrenceTo"
157
            commandId="org.txm.concordance.rcp.commands.SendToConcordance">
143 158
         <activeWhen>
144
            <reference
145
                  definitionId="CooccurrenceEditorActive">
146
            </reference></activeWhen>
159
            <and>
160
               <reference
161
                     definitionId="CooccurrenceEditorActive">
162
               </reference>
163
               <reference
164
                     definitionId="OneOrMoreElementSelected">
165
               </reference>
166
            </and></activeWhen>
147 167
      </handler>
148 168
   </extension>
149 169

  

Also available in: Unified diff