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

plugin.xml (revision 845)
5 5
   <extension
6 6
         point="org.eclipse.ui.menus">
7 7
      <menuContribution
8
            locationURI="popup:org.txm.concordance.rcp.editors.ConcordanceEditor">
9
         <command
10
               commandId="org.txm.edition.rcp.handlers.BackToText"
11
               icon="icons/objects/edition.png"
12
               style="push">
13
         </command>
14
      </menuContribution>
15
      <menuContribution
16 8
            locationURI="menu:menu.help.plugins">
17 9
         <command
18 10
               commandId="org.txm.rcp.commands.OpenBrowser"
......
78 70
         </command>
79 71
      </menuContribution>
80 72
      <menuContribution
81
            locationURI="popup:org.txm.edition.rcp.editors.SynopticEditionEditor">
73
            locationURI="popup:org.txm.concordance.rcp.editors.ConcordanceEditor">
82 74
         <command
83
               commandId="org.txm.rcp.commands.link.TextToConcordance"
84
               label="Send to concordances..."
75
               commandId="org.txm.edition.rcp.handlers.BackToText"
76
               icon="icons/objects/edition.png"
85 77
               style="push">
86 78
         </command>
87 79
      </menuContribution>
......
154 146
            name="Edition">
155 147
      </page>
156 148
   </extension>
149
   <extension
150
         point="org.eclipse.ui.handlers">
151
      <handler
152
            class="org.txm.edition.rcp.handlers.SendEditionTo"
153
            commandId="org.txm.concordance.rcp.commands.SendToConcordance">
154
         <activeWhen>
155
            <reference
156
                  definitionId="EditionEditorActive">
157
            </reference>
158
         </activeWhen>
159
      </handler>
160
   </extension>
161
   <extension
162
         point="org.eclipse.core.expressions.definitions">
163
      <definition
164
            id="EditionEditorActive">
165
         <with
166
               variable="activePart">
167
            <instanceof
168
                  value="org.txm.edition.rcp.editors.SynopticEditionEditor">
169
            </instanceof>
170
         </with>
171
      </definition>
172
   </extension>
157 173

  
158 174
</plugin>

Also available in: Unified diff