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

plugin.xml (revision 859)
86 86
      <menuContribution
87 87
            locationURI="popup:org.txm.index.rcp.editors.IndexEditor">
88 88
         <command
89
               commandId="org.txm.progression.rcp.commands.SendToProgression"
89
               commandId="org.txm.progression.rcp.handlers.ComputeProgression"
90 90
               icon="icons/functions/progression.png"
91 91
               label="%command.name.3"
92 92
               style="push">
93
            <parameter
94
                  name="sendToTargetCommandId"
95
                  value="org.txm.progression.rcp.handlers.ComputeProgression">
96
            </parameter>
97 93
         </command>
98 94
      </menuContribution>
99 95
      <menuContribution
100 96
            locationURI="popup:org.txm.index.rcp.editors.DictionnaryEditor">
101 97
         <command
102
               commandId="org.txm.progression.rcp.commands.SendToProgression"
98
               commandId="org.txm.progression.rcp.handlers.ComputeProgression"
103 99
               icon="icons/functions/progression.png"
104 100
               label="%command.name.3"
105 101
               style="push">
106
            <parameter
107
                  name="sendToTargetCommandId"
108
                  value="org.txm.progression.rcp.handlers.ComputeProgression">
109
            </parameter>
110 102
         </command>
111 103
      </menuContribution>
112 104
      <menuContribution
113 105
            locationURI="popup:org.txm.internalview.rcp.editors.InternalViewEditor">
114 106
         <command
115
               commandId="org.txm.progression.rcp.commands.SendToProgression"
107
               commandId="org.txm.progression.rcp.handlers.ComputeProgression"
116 108
               icon="icons/functions/progression.png"
117 109
               label="%command.name.3"
118 110
               style="push">
119
            <parameter
120
                  name="sendToTargetCommandId"
121
                  value="org.txm.progression.rcp.handlers.ComputeProgression">
122
            </parameter>
123 111
         </command>
124 112
      </menuContribution>
125 113
   </extension>
......
166 154
            </iterate>
167 155
         </with>
168 156
      </definition>
157
      <definition
158
            id="ProgressionEditorActive">
159
         <with
160
               variable="activePart">
161
            <instanceof
162
                  value="org.txm.progression.rcp.editors.ProgressionEditor">
163
            </instanceof>
164
         </with>
165
      </definition>
169 166
   </extension>
167
   <extension
168
         point="org.eclipse.ui.handlers">
169
      <handler
170
            class="org.txm.progression.rcp.handlers.SendProgressionTo"
171
            commandId="org.txm.index.rcp.handlers.ComputeIndex">
172
         <activeWhen>
173
            <and>
174
               <reference
175
                     definitionId="ProgressionEditorActive">
176
               </reference>
177
               <reference
178
                     definitionId="SendSelectionContextNotActive">
179
               </reference>
180
            </and>
181
         </activeWhen>
182
      </handler>
183
   </extension>
170 184

  
171 185
</plugin>

Also available in: Unified diff