Statistics
| Revision:

root / tmp / org.txm.tigersearch.rcp / plugin.xml @ 597

History | View | Annotate | Download (7.2 kB)

1 458 mdecorde
<?xml version="1.0" encoding="UTF-8"?>
2 458 mdecorde
<?eclipse version="3.4"?>
3 458 mdecorde
<plugin>
4 458 mdecorde
5 458 mdecorde
   <extension
6 458 mdecorde
         point="org.eclipse.ui.commands">
7 458 mdecorde
      <category
8 458 mdecorde
            description="TIGERSearch commands"
9 458 mdecorde
            id="TIGERSearch4TXM.commands.category"
10 458 mdecorde
            name="TIGERSearch">
11 458 mdecorde
      </category>
12 458 mdecorde
      <command
13 458 mdecorde
            categoryId="TIGERSearch4TXM.commands.category"
14 458 mdecorde
            defaultHandler="org.txm.tigersearch.commands.ComputeTIGERSearch"
15 458 mdecorde
            id="org.txm.tigersearch.commands.ComputeTIGERSearch"
16 458 mdecorde
            name="OpenTIGERSearch">
17 458 mdecorde
      </command>
18 458 mdecorde
      <command
19 458 mdecorde
            categoryId="TIGERSearch4TXM.commands.category"
20 458 mdecorde
            defaultHandler="org.txm.tigersearch.commands.ComputeTSIndex"
21 458 mdecorde
            id="org.txm.tigersearch.commands.ComputeTSIndex"
22 458 mdecorde
            name="ComputeTSIndex">
23 458 mdecorde
      </command>
24 458 mdecorde
      <command
25 458 mdecorde
            categoryId="TIGERSearch4TXM.commands.category"
26 458 mdecorde
            defaultHandler="org.txm.tigersearch.commands.ComputeRecette1"
27 458 mdecorde
            id="org.txm.tigersearch.commands.ComputeRecette1"
28 458 mdecorde
            name="ComputeRecette1">
29 458 mdecorde
      </command>
30 458 mdecorde
      <command
31 458 mdecorde
            categoryId="TIGERSearch4TXM.commands.category"
32 458 mdecorde
            defaultHandler="org.txm.tigersearch.commands.ComputeRecette2"
33 458 mdecorde
            id="org.txm.tigersearch.commands.ComputeRecette2"
34 458 mdecorde
            name="ComputeRecette2">
35 458 mdecorde
      </command>
36 458 mdecorde
   </extension>
37 458 mdecorde
   <extension
38 458 mdecorde
         point="org.eclipse.ui.menus">
39 458 mdecorde
      <menuContribution
40 458 mdecorde
            locationURI="menu:menu.tools">
41 458 mdecorde
         <command
42 458 mdecorde
               commandId="org.txm.tigersearch.commands.ComputeTIGERSearch"
43 458 mdecorde
               icon="icons/functions/TS.png"
44 458 mdecorde
               label="TIGERSearch"
45 458 mdecorde
               style="push">
46 458 mdecorde
            <visibleWhen
47 458 mdecorde
                  checkEnabled="false">
48 458 mdecorde
               <or>
49 458 mdecorde
                  <reference
50 458 mdecorde
                        definitionId="OneCorpusSelected">
51 458 mdecorde
                  </reference>
52 458 mdecorde
               </or>
53 458 mdecorde
            </visibleWhen>
54 458 mdecorde
         </command>
55 458 mdecorde
         <command
56 458 mdecorde
               commandId="org.txm.tigersearch.commands.ComputeTSIndex"
57 458 mdecorde
               icon="icons/functions/TSIndex.png"
58 458 mdecorde
               label="TS Index"
59 458 mdecorde
               style="push">
60 458 mdecorde
            <visibleWhen
61 458 mdecorde
                  checkEnabled="false">
62 458 mdecorde
               <or>
63 458 mdecorde
                  <reference
64 458 mdecorde
                        definitionId="OneCorpusSelected">
65 458 mdecorde
                  </reference>
66 458 mdecorde
                  <reference
67 458 mdecorde
                        definitionId="OnePartitionSelected">
68 458 mdecorde
                  </reference>
69 458 mdecorde
               </or>
70 458 mdecorde
            </visibleWhen>
71 458 mdecorde
         </command>
72 458 mdecorde
      </menuContribution>
73 458 mdecorde
      <menuContribution
74 458 mdecorde
            locationURI="menu:menu.help.plugins">
75 458 mdecorde
         <command
76 458 mdecorde
               commandId="org.txm.rcpapplication.commands.OpenBrowser"
77 458 mdecorde
               label="TIGERSearch"
78 458 mdecorde
               style="push">
79 458 mdecorde
            <parameter
80 458 mdecorde
                  name="org.txm.rcpapplication.commands.commandParameter2"
81 458 mdecorde
                  value="https://groupes.renater.fr/wiki/txm-users/public/extensions#tigersearch">
82 458 mdecorde
            </parameter>
83 458 mdecorde
         </command>
84 458 mdecorde
      </menuContribution>
85 458 mdecorde
      <menuContribution
86 458 mdecorde
            locationURI="menu:menu.recettes">
87 458 mdecorde
         <command
88 458 mdecorde
               commandId="org.txm.tigersearch.commands.ComputeRecette1"
89 458 mdecorde
               icon="icons/functions/TSIndex.png"
90 458 mdecorde
               label="TS Index Recette 1"
91 458 mdecorde
               style="push">
92 458 mdecorde
            <visibleWhen
93 458 mdecorde
                  checkEnabled="false">
94 458 mdecorde
               <or>
95 458 mdecorde
                  <reference
96 458 mdecorde
                        definitionId="OneCorpusSelected">
97 458 mdecorde
                  </reference>
98 458 mdecorde
               </or>
99 458 mdecorde
            </visibleWhen>
100 458 mdecorde
         </command>
101 458 mdecorde
         <command
102 458 mdecorde
               commandId="org.txm.tigersearch.commands.ComputeRecette2"
103 458 mdecorde
               icon="icons/functions/TSIndex.png"
104 458 mdecorde
               label="TS Index Recette 2"
105 458 mdecorde
               style="push">
106 458 mdecorde
            <visibleWhen
107 458 mdecorde
                  checkEnabled="false">
108 458 mdecorde
               <and>
109 458 mdecorde
                  <count
110 458 mdecorde
                        value="2">
111 458 mdecorde
                  </count>
112 458 mdecorde
                  <iterate>
113 458 mdecorde
                     <instanceof
114 458 mdecorde
                           value="org.txm.searchengine.cqp.corpus.Corpus">
115 458 mdecorde
                     </instanceof>
116 458 mdecorde
                  </iterate>
117 458 mdecorde
               </and>
118 458 mdecorde
            </visibleWhen>
119 458 mdecorde
         </command>
120 458 mdecorde
      </menuContribution>
121 458 mdecorde
      <menuContribution
122 458 mdecorde
            allPopups="false"
123 458 mdecorde
            locationURI="popup:org.txm.rcpapplication.views.CorporaView">
124 458 mdecorde
         <command
125 458 mdecorde
               commandId="org.txm.tigersearch.commands.ComputeTIGERSearch"
126 458 mdecorde
               icon="icons/functions/TS.png"
127 458 mdecorde
               label="TIGERSearch"
128 458 mdecorde
               style="push">
129 458 mdecorde
            <visibleWhen
130 458 mdecorde
                  checkEnabled="false">
131 458 mdecorde
               <or>
132 458 mdecorde
                  <reference
133 458 mdecorde
                        definitionId="OneCorpusSelected">
134 458 mdecorde
                  </reference>
135 458 mdecorde
               </or>
136 458 mdecorde
            </visibleWhen>
137 458 mdecorde
         </command>
138 458 mdecorde
         <command
139 458 mdecorde
               commandId="org.txm.tigersearch.commands.ComputeTSIndex"
140 458 mdecorde
               icon="icons/functions/TSIndex.png"
141 458 mdecorde
               label="TS Index"
142 458 mdecorde
               style="push">
143 458 mdecorde
            <visibleWhen
144 458 mdecorde
                  checkEnabled="false">
145 458 mdecorde
               <or>
146 458 mdecorde
                  <reference
147 458 mdecorde
                        definitionId="OneCorpusSelected">
148 458 mdecorde
                  </reference>
149 458 mdecorde
                  <reference
150 458 mdecorde
                        definitionId="OnePartitionSelected">
151 458 mdecorde
                  </reference>
152 458 mdecorde
               </or>
153 458 mdecorde
            </visibleWhen>
154 458 mdecorde
         </command>
155 458 mdecorde
      </menuContribution>
156 458 mdecorde
      <menuContribution
157 458 mdecorde
            allPopups="false"
158 458 mdecorde
            locationURI="toolbar:org.txm.rcpapplication.toolbartools">
159 458 mdecorde
         <command
160 458 mdecorde
               commandId="org.txm.tigersearch.commands.ComputeTIGERSearch"
161 458 mdecorde
               icon="icons/functions/TS.png"
162 458 mdecorde
               label="TIGERSearch"
163 458 mdecorde
               style="push">
164 458 mdecorde
            <visibleWhen
165 458 mdecorde
                  checkEnabled="false">
166 458 mdecorde
               <or>
167 458 mdecorde
                  <reference
168 458 mdecorde
                        definitionId="OneCorpusSelected">
169 458 mdecorde
                  </reference>
170 458 mdecorde
               </or>
171 458 mdecorde
            </visibleWhen>
172 458 mdecorde
         </command>
173 458 mdecorde
         <command
174 458 mdecorde
               commandId="org.txm.tigersearch.commands.ComputeTSIndex"
175 458 mdecorde
               icon="icons/functions/TSIndex.png"
176 458 mdecorde
               label="TS Index"
177 458 mdecorde
               style="push">
178 458 mdecorde
            <visibleWhen
179 458 mdecorde
                  checkEnabled="false">
180 458 mdecorde
               <or>
181 458 mdecorde
                  <reference
182 458 mdecorde
                        definitionId="OneCorpusSelected">
183 458 mdecorde
                  </reference>
184 458 mdecorde
                  <reference
185 458 mdecorde
                        definitionId="OnePartitionSelected">
186 458 mdecorde
                  </reference>
187 458 mdecorde
               </or>
188 458 mdecorde
            </visibleWhen>
189 458 mdecorde
         </command>
190 458 mdecorde
      </menuContribution>
191 458 mdecorde
   </extension>
192 458 mdecorde
   <extension
193 458 mdecorde
         point="org.eclipse.ui.editors">
194 458 mdecorde
      <editor
195 458 mdecorde
            class="org.txm.tigersearch.editors.TIGERSearchEditor"
196 458 mdecorde
            default="false"
197 458 mdecorde
            icon="icons/functions/TS.png"
198 458 mdecorde
            id="org.txm.tigersearch.editors.TIGERSearchEditor"
199 458 mdecorde
            name="TIGERSearch">
200 458 mdecorde
      </editor>
201 458 mdecorde
      <editor
202 458 mdecorde
            class="org.txm.tigersearch.editors.TSIndexEditor"
203 458 mdecorde
            default="false"
204 458 mdecorde
            icon="icons/functions/TSIndex.png"
205 458 mdecorde
            id="org.txm.tigersearch.editors.TSIndexEditor"
206 458 mdecorde
            name="TSIndex">
207 458 mdecorde
      </editor>
208 458 mdecorde
   </extension>
209 458 mdecorde
210 458 mdecorde
</plugin>