Statistics
| Revision:

root / tmp / org.txm.queryindex.rcp / plugin.xml @ 729

History | View | Annotate | Download (5.5 kB)

1 466 mdecorde
<?xml version="1.0" encoding="UTF-8"?>
2 466 mdecorde
<?eclipse version="3.4"?>
3 466 mdecorde
<plugin>
4 466 mdecorde
<extension
5 466 mdecorde
         point="org.eclipse.ui.editors">
6 466 mdecorde
7 466 mdecorde
         <editor
8 673 mdecorde
            class="org.txm.rcp.editors.queryindex.QueryIndexEditor"
9 466 mdecorde
            default="false"
10 466 mdecorde
            icon="icons/functions/QueryIndex.png"
11 673 mdecorde
            id="org.txm.rcp.editors.queryindex.QueryIndexEditor"
12 466 mdecorde
            name="QueryIndex">
13 466 mdecorde
      </editor>
14 466 mdecorde
         </extension>
15 466 mdecorde
<extension
16 466 mdecorde
         point="org.eclipse.core.runtime.adapters">
17 466 mdecorde
         <factory
18 466 mdecorde
       adaptableType="org.txm.functions.queryindex.QueryIndex"
19 466 mdecorde
       class="queryindexrcp.adapters.AdapterFactory">
20 466 mdecorde
    <adapter
21 466 mdecorde
          type="org.eclipse.ui.model.IWorkbenchAdapter">
22 466 mdecorde
    </adapter>
23 466 mdecorde
 </factory>
24 466 mdecorde
         </extension>
25 466 mdecorde
26 466 mdecorde
 <extension
27 466 mdecorde
         point="org.eclipse.ui.commands">
28 466 mdecorde
          <command
29 673 mdecorde
            categoryId="org.txm.rcp.category.txm"
30 673 mdecorde
            defaultHandler="org.txm.rcp.commands.function.ComputeQueryIndex"
31 673 mdecorde
            id="org.txm.rcp.commands.function.ComputeQueryIndex"
32 466 mdecorde
            name="QueryIndex">
33 466 mdecorde
      </command>
34 466 mdecorde
        </extension>
35 466 mdecorde
36 466 mdecorde
  <extension
37 466 mdecorde
         point="org.eclipse.ui.menus">
38 466 mdecorde
      <menuContribution
39 466 mdecorde
            allPopups="false"
40 673 mdecorde
            locationURI="toolbar:org.txm.rcp.toolbartools?before=org.txm.rcp.separator1">
41 466 mdecorde
         <command
42 673 mdecorde
               commandId="org.txm.rcp.commands.function.ComputeQueryIndex"
43 466 mdecorde
               icon="icons/functions/QueryIndex.png"
44 466 mdecorde
               label="QueryIndex"
45 466 mdecorde
               style="push">
46 466 mdecorde
            <visibleWhen
47 466 mdecorde
                  checkEnabled="false">
48 466 mdecorde
               <or>
49 466 mdecorde
                  <reference
50 466 mdecorde
                        definitionId="OnePartitionSelected">
51 466 mdecorde
                  </reference>
52 466 mdecorde
                  <reference
53 466 mdecorde
                        definitionId="OneCorpusSelected">
54 466 mdecorde
                  </reference>
55 466 mdecorde
               </or>
56 466 mdecorde
            </visibleWhen>
57 466 mdecorde
         </command>
58 466 mdecorde
      </menuContribution>
59 466 mdecorde
      <menuContribution
60 466 mdecorde
            allPopups="false"
61 673 mdecorde
            locationURI="popup:org.txm.rcp.views.CorporaView">
62 466 mdecorde
         <command
63 673 mdecorde
               commandId="org.txm.rcp.commands.function.ComputeQueryIndex"
64 466 mdecorde
               icon="icons/functions/QueryIndex.png"
65 466 mdecorde
               label="QueryIndex"
66 466 mdecorde
               style="push">
67 466 mdecorde
            <visibleWhen
68 466 mdecorde
                  checkEnabled="false">
69 466 mdecorde
               <or>
70 466 mdecorde
                  <reference
71 466 mdecorde
                        definitionId="OnePartitionSelected">
72 466 mdecorde
                  </reference>
73 466 mdecorde
                  <reference
74 466 mdecorde
                        definitionId="OneCorpusSelected">
75 466 mdecorde
                  </reference>
76 466 mdecorde
               </or>
77 466 mdecorde
            </visibleWhen>
78 466 mdecorde
         </command>
79 466 mdecorde
         <command
80 673 mdecorde
               commandId="org.txm.rcp.commands.function.ComputeQueryIndexOfTexts"
81 466 mdecorde
               icon="icons/functions/QueryIndexOfTexts.png"
82 466 mdecorde
               style="push">
83 466 mdecorde
            <visibleWhen
84 466 mdecorde
                  checkEnabled="false">
85 466 mdecorde
               <or>
86 466 mdecorde
                  <reference
87 466 mdecorde
                        definitionId="OneCorpusSelected">
88 466 mdecorde
                  </reference>
89 466 mdecorde
               </or>
90 466 mdecorde
            </visibleWhen>
91 466 mdecorde
         </command>
92 466 mdecorde
      </menuContribution>
93 466 mdecorde
      <menuContribution
94 466 mdecorde
            locationURI="menu:menu.tools">
95 466 mdecorde
         <command
96 673 mdecorde
               commandId="org.txm.rcp.commands.function.ComputeQueryIndex"
97 466 mdecorde
               icon="icons/functions/QueryIndex.png"
98 466 mdecorde
               label="QueryIndex"
99 466 mdecorde
               style="push">
100 466 mdecorde
            <visibleWhen
101 466 mdecorde
                  checkEnabled="false">
102 466 mdecorde
               <or>
103 466 mdecorde
                  <reference
104 466 mdecorde
                        definitionId="OnePartitionSelected">
105 466 mdecorde
                  </reference>
106 466 mdecorde
                  <reference
107 466 mdecorde
                        definitionId="OneCorpusSelected">
108 466 mdecorde
                  </reference>
109 466 mdecorde
               </or>
110 466 mdecorde
            </visibleWhen>
111 466 mdecorde
         </command>
112 466 mdecorde
         <command
113 673 mdecorde
               commandId="org.txm.rcp.commands.function.ComputeQueryIndexOfTexts"
114 466 mdecorde
               icon="icons/functions/QueryIndexOfTexts.png"
115 466 mdecorde
               style="push">
116 466 mdecorde
            <visibleWhen
117 466 mdecorde
                  checkEnabled="false">
118 466 mdecorde
               <or>
119 466 mdecorde
                  <reference
120 466 mdecorde
                        definitionId="OneCorpusSelected">
121 466 mdecorde
                  </reference>
122 466 mdecorde
               </or>
123 466 mdecorde
            </visibleWhen>
124 466 mdecorde
         </command>
125 466 mdecorde
      </menuContribution>
126 466 mdecorde
      <menuContribution
127 466 mdecorde
            locationURI="menu:menu.help.plugins">
128 466 mdecorde
         <command
129 673 mdecorde
               commandId="org.txm.rcp.commands.OpenBrowser"
130 466 mdecorde
               label="QueryIndex"
131 466 mdecorde
               style="push">
132 466 mdecorde
            <parameter
133 673 mdecorde
                  name="org.txm.rcp.commands.commandParameter2"
134 466 mdecorde
                  value="https://groupes.renater.fr/wiki/txm-users/public/extensions#QueryIndex">
135 466 mdecorde
            </parameter>
136 466 mdecorde
         </command>
137 466 mdecorde
      </menuContribution>
138 466 mdecorde
   </extension>
139 466 mdecorde
  <extension
140 466 mdecorde
        point="org.eclipse.core.expressions.definitions">
141 466 mdecorde
     <definition
142 466 mdecorde
           id="OneQueryIndexSelected">
143 466 mdecorde
        <with
144 466 mdecorde
              variable="selection">
145 466 mdecorde
           <iterate
146 466 mdecorde
                 ifEmpty="false"
147 466 mdecorde
                 operator="and">
148 466 mdecorde
              <instanceof
149 466 mdecorde
                    value="org.txm.functions.queryindex.QueryIndex">
150 466 mdecorde
              </instanceof>
151 466 mdecorde
           </iterate>
152 466 mdecorde
        </with>
153 466 mdecorde
     </definition>
154 466 mdecorde
     <definition
155 466 mdecorde
           id="OneQueryIndexOfTextsSelected">
156 466 mdecorde
        <with
157 466 mdecorde
              variable="selection">
158 466 mdecorde
           <iterate
159 466 mdecorde
                 ifEmpty="false"
160 466 mdecorde
                 operator="and">
161 466 mdecorde
              <instanceof
162 466 mdecorde
                    value="org.txm.functions.queryindex.ExpI">
163 466 mdecorde
              </instanceof>
164 466 mdecorde
           </iterate>
165 466 mdecorde
        </with>
166 466 mdecorde
     </definition>
167 466 mdecorde
  </extension>
168 466 mdecorde
</plugin>