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

plugin.xml (revision 859)
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>
22 13
   </extension>
23 14
   <extension
24 15
         point="org.eclipse.ui.preferencePages">
......
104 95
      <menuContribution
105 96
            locationURI="popup:org.txm.index.rcp.editors.IndexEditor">
106 97
         <command
107
               commandId="org.txm.cooccurrence.rcp.commands.SendToCooccurrence"
98
               commandId="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"
108 99
               icon="icons/cooccurrences.png"
109 100
               label="%command.name.4"
110 101
               style="push">
111
            <parameter
112
                  name="sendToTargetCommandId"
113
                  value="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences">
114
            </parameter>
115 102
         </command>
116 103
      </menuContribution>
117 104
   </extension>
......
154 141
         point="org.eclipse.ui.handlers">
155 142
      <handler
156 143
            class="org.txm.cooccurrence.rcp.handlers.SendCooccurrenceTo"
157
            commandId="org.txm.concordance.rcp.commands.SendToConcordance">
144
            commandId="org.txm.concordance.rcp.handlers.ComputeConcordance">
158 145
         <activeWhen>
159 146
            <and>
160 147
               <reference
161 148
                     definitionId="CooccurrenceEditorActive">
162 149
               </reference>
163 150
               <reference
164
                     definitionId="OneOrMoreElementSelected">
151
                     definitionId="SendSelectionContextNotActive">
165 152
               </reference>
166 153
            </and></activeWhen>
167 154
      </handler>

Also available in: Unified diff