Statistics
| Revision:

root / tmp / org.txm.referencer.rcp / plugin.xml @ 845

History | View | Annotate | Download (5 kB)

1 632 sjacqu01
<?xml version="1.0" encoding="UTF-8"?>
2 632 sjacqu01
<?eclipse version="3.4"?>
3 632 sjacqu01
<plugin>
4 632 sjacqu01
   <extension
5 632 sjacqu01
         point="org.eclipse.ui.editors">
6 632 sjacqu01
               <editor
7 632 sjacqu01
            class="org.txm.referencer.rcp.editors.ReferencerEditor"
8 632 sjacqu01
            default="false"
9 632 sjacqu01
            icon="icons/functions/referencer.png"
10 632 sjacqu01
            id="org.txm.referencer.rcp.editors.ReferencerEditor"
11 632 sjacqu01
            name="%editor.name.14">
12 632 sjacqu01
      </editor>
13 632 sjacqu01
   </extension>
14 632 sjacqu01
   <extension
15 632 sjacqu01
         point="org.eclipse.ui.menus">
16 632 sjacqu01
               <menuContribution
17 698 mdecorde
                     locationURI="menu:menu.tools?after=menu.tools.separator.misc">
18 632 sjacqu01
                     <command
19 632 sjacqu01
                  commandId="org.txm.referencer.rcp.handlers.ComputeReferencer"
20 632 sjacqu01
                  icon="icons/functions/referencer.png"
21 632 sjacqu01
                  style="push">
22 632 sjacqu01
               <visibleWhen
23 632 sjacqu01
                     checkEnabled="false">
24 632 sjacqu01
                  <reference
25 632 sjacqu01
                        definitionId="OneCorpusSelected">
26 632 sjacqu01
                  </reference>
27 632 sjacqu01
               </visibleWhen>
28 632 sjacqu01
            </command>
29 632 sjacqu01
               </menuContribution>
30 632 sjacqu01
               <menuContribution
31 632 sjacqu01
                     allPopups="false"
32 653 sjacqu01
                     locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.progression.rcp.handlers.ComputeProgression">
33 632 sjacqu01
                  <command
34 632 sjacqu01
                        commandId="org.txm.referencer.rcp.handlers.ComputeReferencer"
35 632 sjacqu01
                        icon="icons/functions/referencer.png"
36 632 sjacqu01
                        style="push">
37 632 sjacqu01
                     <visibleWhen
38 632 sjacqu01
                           checkEnabled="false">
39 632 sjacqu01
                        <reference
40 632 sjacqu01
                              definitionId="OneCorpusSelected">
41 632 sjacqu01
                        </reference>
42 632 sjacqu01
                     </visibleWhen>
43 632 sjacqu01
                  </command>
44 632 sjacqu01
               </menuContribution>
45 632 sjacqu01
               <menuContribution
46 632 sjacqu01
                     allPopups="false"
47 698 mdecorde
                     locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.progression.rcp.handlers.ComputeProgression">
48 632 sjacqu01
                  <command
49 632 sjacqu01
                        commandId="org.txm.referencer.rcp.handlers.ComputeReferencer"
50 632 sjacqu01
                        icon="icons/functions/referencer.png"
51 632 sjacqu01
                        style="push">
52 632 sjacqu01
                     <visibleWhen
53 632 sjacqu01
                           checkEnabled="false">
54 632 sjacqu01
                        <reference
55 632 sjacqu01
                              definitionId="OneCorpusSelected">
56 632 sjacqu01
                        </reference>
57 632 sjacqu01
                     </visibleWhen>
58 632 sjacqu01
                  </command>
59 632 sjacqu01
               </menuContribution>
60 632 sjacqu01
   </extension>
61 632 sjacqu01
   <extension
62 632 sjacqu01
         point="org.eclipse.ui.commands">
63 632 sjacqu01
64 632 sjacqu01
            <command
65 737 sjacqu01
                  categoryId="org.txm.rcp.category.txm"
66 737 sjacqu01
                  defaultHandler="org.txm.referencer.rcp.handlers.ComputeReferencer"
67 737 sjacqu01
                  id="org.txm.referencer.rcp.handlers.ComputeReferencer"
68 737 sjacqu01
                  name="%command.name.44"
69 737 sjacqu01
                  returnTypeId="org.txm.referencer.core.functions.Referencer">
70 632 sjacqu01
      </command>
71 632 sjacqu01
   </extension>
72 632 sjacqu01
   <extension
73 632 sjacqu01
         point="org.eclipse.core.expressions.definitions">
74 632 sjacqu01
       <definition
75 632 sjacqu01
                  id="OneReferencerSelected">
76 632 sjacqu01
               <with
77 632 sjacqu01
                     variable="selection">
78 632 sjacqu01
                  <iterate
79 632 sjacqu01
                        ifEmpty="false"
80 632 sjacqu01
                        operator="and">
81 632 sjacqu01
                     <instanceof
82 632 sjacqu01
                           value="org.txm.referencer.core.functions.Referencer">
83 632 sjacqu01
                     </instanceof>
84 632 sjacqu01
                  </iterate>
85 632 sjacqu01
               </with>
86 632 sjacqu01
            </definition>
87 845 sjacqu01
       <definition
88 845 sjacqu01
             id="ReferencerEditorActive">
89 845 sjacqu01
          <with
90 845 sjacqu01
                variable="activePart">
91 845 sjacqu01
             <instanceof
92 845 sjacqu01
                   value="org.txm.referencer.rcp.editors.ReferencerEditor">
93 845 sjacqu01
             </instanceof>
94 845 sjacqu01
          </with>
95 845 sjacqu01
       </definition>
96 632 sjacqu01
   </extension>
97 632 sjacqu01
   <extension
98 632 sjacqu01
         point="org.eclipse.core.runtime.adapters">
99 632 sjacqu01
       <factory
100 632 sjacqu01
       adaptableType="org.txm.referencer.core.functions.Referencer"
101 632 sjacqu01
       class="org.txm.referencer.rcp.adapters.ReferencerAdapterFactory">
102 632 sjacqu01
    <adapter
103 632 sjacqu01
          type="org.eclipse.ui.model.IWorkbenchAdapter">
104 632 sjacqu01
    </adapter>
105 632 sjacqu01
 </factory>
106 632 sjacqu01
   </extension>
107 632 sjacqu01
   <extension
108 632 sjacqu01
         point="org.eclipse.ui.preferencePages">
109 632 sjacqu01
            <page
110 632 sjacqu01
            category="org.txm.rcp.preferences.UserPreferencePage"
111 632 sjacqu01
            class="org.txm.referencer.rcp.preferences.ReferencerPreferencePage"
112 632 sjacqu01
            id="org.txm.referencer.rcp.preferences.ReferencerPreferencePage"
113 632 sjacqu01
            name="Referencer">
114 632 sjacqu01
      </page>
115 632 sjacqu01
   </extension>
116 845 sjacqu01
   <extension
117 845 sjacqu01
         point="org.eclipse.ui.handlers">
118 845 sjacqu01
      <handler
119 845 sjacqu01
            class="org.txm.referencer.rcp.handlers.SendReferencerTo"
120 845 sjacqu01
            commandId="org.txm.concordance.rcp.commands.SendToConcordance">
121 845 sjacqu01
         <activeWhen>
122 845 sjacqu01
         <and>
123 845 sjacqu01
            <reference
124 845 sjacqu01
                  definitionId="ReferencerEditorActive">
125 845 sjacqu01
            </reference>
126 845 sjacqu01
                     <reference
127 845 sjacqu01
               definitionId="OneOrMoreElementSelected">
128 845 sjacqu01
         </reference>
129 845 sjacqu01
            </and>
130 845 sjacqu01
         </activeWhen>
131 845 sjacqu01
      </handler>
132 845 sjacqu01
   </extension>
133 632 sjacqu01
</plugin>