Statistics
| Revision:

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

History | View | Annotate | Download (7.1 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 973 mdecorde
            description="%category.description"
9 458 mdecorde
            id="TIGERSearch4TXM.commands.category"
10 973 mdecorde
            name="%category.name">
11 458 mdecorde
      </category>
12 458 mdecorde
      <command
13 458 mdecorde
            categoryId="TIGERSearch4TXM.commands.category"
14 458 mdecorde
            id="org.txm.tigersearch.commands.ComputeTIGERSearch"
15 973 mdecorde
            name="%command.name">
16 458 mdecorde
      </command>
17 458 mdecorde
      <command
18 458 mdecorde
            categoryId="TIGERSearch4TXM.commands.category"
19 458 mdecorde
            defaultHandler="org.txm.tigersearch.commands.ComputeRecette1"
20 458 mdecorde
            id="org.txm.tigersearch.commands.ComputeRecette1"
21 973 mdecorde
            name="%command.name.0">
22 458 mdecorde
      </command>
23 458 mdecorde
      <command
24 458 mdecorde
            categoryId="TIGERSearch4TXM.commands.category"
25 458 mdecorde
            defaultHandler="org.txm.tigersearch.commands.ComputeRecette2"
26 458 mdecorde
            id="org.txm.tigersearch.commands.ComputeRecette2"
27 973 mdecorde
            name="%command.name.1">
28 458 mdecorde
      </command>
29 458 mdecorde
   </extension>
30 458 mdecorde
   <extension
31 717 mdecorde
         point="org.eclipse.core.expressions.propertyTesters">
32 717 mdecorde
      <propertyTester
33 717 mdecorde
            class="org.txm.tigersearch.rcp.tester.TIGERSearchTester"
34 717 mdecorde
            id="org.txm.rcp.testers.TIGERSearchTester"
35 717 mdecorde
            namespace="org.txm.rcp.testers"
36 717 mdecorde
            properties="TIGERSearchReady"
37 717 mdecorde
            type="java.lang.Object">
38 717 mdecorde
      </propertyTester>
39 717 mdecorde
   </extension>
40 717 mdecorde
   <extension
41 458 mdecorde
         point="org.eclipse.ui.menus">
42 458 mdecorde
      <menuContribution
43 698 mdecorde
            locationURI="menu:menu.tools?after=menu.tools.separator.misc">
44 458 mdecorde
         <command
45 458 mdecorde
               commandId="org.txm.tigersearch.commands.ComputeTIGERSearch"
46 458 mdecorde
               icon="icons/functions/TS.png"
47 973 mdecorde
               label="%command.label"
48 458 mdecorde
               style="push">
49 458 mdecorde
            <visibleWhen
50 458 mdecorde
                  checkEnabled="false">
51 458 mdecorde
               <or>
52 458 mdecorde
                  <reference
53 458 mdecorde
                        definitionId="OneCorpusSelected">
54 458 mdecorde
                  </reference>
55 458 mdecorde
               </or>
56 458 mdecorde
            </visibleWhen>
57 458 mdecorde
         </command>
58 458 mdecorde
      </menuContribution>
59 458 mdecorde
      <menuContribution
60 458 mdecorde
            locationURI="menu:menu.help.plugins">
61 458 mdecorde
         <command
62 673 mdecorde
               commandId="org.txm.rcp.commands.OpenBrowser"
63 973 mdecorde
               label="%command.label.0"
64 458 mdecorde
               style="push">
65 458 mdecorde
            <parameter
66 673 mdecorde
                  name="org.txm.rcp.commands.commandParameter2"
67 458 mdecorde
                  value="https://groupes.renater.fr/wiki/txm-users/public/extensions#tigersearch">
68 458 mdecorde
            </parameter>
69 458 mdecorde
         </command>
70 458 mdecorde
      </menuContribution>
71 458 mdecorde
      <menuContribution
72 458 mdecorde
            locationURI="menu:menu.recettes">
73 458 mdecorde
         <command
74 458 mdecorde
               commandId="org.txm.tigersearch.commands.ComputeRecette1"
75 458 mdecorde
               icon="icons/functions/TSIndex.png"
76 973 mdecorde
               label="%command.label.1"
77 458 mdecorde
               style="push">
78 458 mdecorde
            <visibleWhen
79 458 mdecorde
                  checkEnabled="false">
80 458 mdecorde
               <or>
81 458 mdecorde
                  <reference
82 458 mdecorde
                        definitionId="OneCorpusSelected">
83 458 mdecorde
                  </reference>
84 458 mdecorde
               </or>
85 458 mdecorde
            </visibleWhen>
86 458 mdecorde
         </command>
87 458 mdecorde
         <command
88 458 mdecorde
               commandId="org.txm.tigersearch.commands.ComputeRecette2"
89 458 mdecorde
               icon="icons/functions/TSIndex.png"
90 973 mdecorde
               label="%command.label.2"
91 458 mdecorde
               style="push">
92 458 mdecorde
            <visibleWhen
93 458 mdecorde
                  checkEnabled="false">
94 458 mdecorde
               <and>
95 458 mdecorde
                  <count
96 458 mdecorde
                        value="2">
97 458 mdecorde
                  </count>
98 458 mdecorde
                  <iterate>
99 458 mdecorde
                     <instanceof
100 1094 mdecorde
                           value="org.txm.searchengine.cqp.corpus.CQPCorpus">
101 458 mdecorde
                     </instanceof>
102 458 mdecorde
                  </iterate>
103 458 mdecorde
               </and>
104 458 mdecorde
            </visibleWhen>
105 458 mdecorde
         </command>
106 458 mdecorde
      </menuContribution>
107 458 mdecorde
      <menuContribution
108 458 mdecorde
            allPopups="false"
109 673 mdecorde
            locationURI="popup:org.txm.rcp.views.CorporaView">
110 458 mdecorde
         <command
111 458 mdecorde
               commandId="org.txm.tigersearch.commands.ComputeTIGERSearch"
112 458 mdecorde
               icon="icons/functions/TS.png"
113 973 mdecorde
               label="%command.label.3"
114 458 mdecorde
               style="push">
115 458 mdecorde
            <visibleWhen
116 458 mdecorde
                  checkEnabled="false">
117 458 mdecorde
               <or>
118 458 mdecorde
                  <reference
119 458 mdecorde
                        definitionId="OneCorpusSelected">
120 458 mdecorde
                  </reference>
121 458 mdecorde
               </or>
122 458 mdecorde
            </visibleWhen>
123 458 mdecorde
         </command>
124 458 mdecorde
      </menuContribution>
125 458 mdecorde
      <menuContribution
126 458 mdecorde
            allPopups="false"
127 673 mdecorde
            locationURI="toolbar:org.txm.rcp.toolbartools">
128 458 mdecorde
         <command
129 458 mdecorde
               commandId="org.txm.tigersearch.commands.ComputeTIGERSearch"
130 458 mdecorde
               icon="icons/functions/TS.png"
131 973 mdecorde
               label="%command.label.4"
132 458 mdecorde
               style="push">
133 458 mdecorde
            <visibleWhen
134 458 mdecorde
                  checkEnabled="false">
135 458 mdecorde
               <or>
136 458 mdecorde
                  <reference
137 458 mdecorde
                        definitionId="OneCorpusSelected">
138 458 mdecorde
                  </reference>
139 458 mdecorde
               </or>
140 458 mdecorde
            </visibleWhen>
141 458 mdecorde
         </command>
142 458 mdecorde
      </menuContribution>
143 674 mdecorde
      <menuContribution
144 717 mdecorde
            locationURI="menu:menu.file.import?before=menu.file.import.separator.software">
145 674 mdecorde
         <command
146 714 mdecorde
               commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
147 674 mdecorde
               icon="icons/functions/TS.png"
148 973 mdecorde
               label="%command.label.5"
149 674 mdecorde
               style="push">
150 674 mdecorde
            <parameter
151 714 mdecorde
                  name="org.txm.rcp.commands.commandParameter3"
152 1000 mdecorde
                  value="tigersearch/tigersearchLoader.groovy">
153 674 mdecorde
            </parameter>
154 674 mdecorde
         </command>
155 674 mdecorde
      </menuContribution>
156 458 mdecorde
   </extension>
157 458 mdecorde
   <extension
158 458 mdecorde
         point="org.eclipse.ui.editors">
159 458 mdecorde
      <editor
160 458 mdecorde
            class="org.txm.tigersearch.editors.TIGERSearchEditor"
161 458 mdecorde
            default="false"
162 458 mdecorde
            icon="icons/functions/TS.png"
163 458 mdecorde
            id="org.txm.tigersearch.editors.TIGERSearchEditor"
164 973 mdecorde
            name="%editor.name">
165 458 mdecorde
      </editor>
166 458 mdecorde
      <editor
167 458 mdecorde
            class="org.txm.tigersearch.editors.TSIndexEditor"
168 458 mdecorde
            default="false"
169 458 mdecorde
            icon="icons/functions/TSIndex.png"
170 458 mdecorde
            id="org.txm.tigersearch.editors.TSIndexEditor"
171 973 mdecorde
            name="%editor.name.0">
172 458 mdecorde
      </editor>
173 458 mdecorde
   </extension>
174 714 mdecorde
   <extension
175 714 mdecorde
         point="org.txm.PostInstallationStep">
176 714 mdecorde
   </extension>
177 717 mdecorde
   <extension
178 717 mdecorde
         point="org.eclipse.ui.handlers">
179 717 mdecorde
      <handler
180 717 mdecorde
            class="org.txm.tigersearch.commands.ComputeTIGERSearch"
181 717 mdecorde
            commandId="org.txm.tigersearch.commands.ComputeTIGERSearch">
182 717 mdecorde
         <enabledWhen>
183 717 mdecorde
            <test
184 717 mdecorde
                  forcePluginActivation="true"
185 717 mdecorde
                  property="org.txm.rcp.testers.TIGERSearchReady"
186 717 mdecorde
                  value="TIGERSearchReady">
187 717 mdecorde
            </test>
188 717 mdecorde
         </enabledWhen>
189 717 mdecorde
      </handler>
190 717 mdecorde
   </extension>
191 1000 mdecorde
   <extension
192 1000 mdecorde
         point="org.txm.PostTXMHOMEInstallationStep">
193 1000 mdecorde
      <PostTXMHOMEInstallationStep
194 1000 mdecorde
            class="org.txm.tigersearch.rcp.InstallGroovyTIGERFiles"
195 1000 mdecorde
            description="Install TIGER Groovy Files"
196 1000 mdecorde
            name="Install TIGER Groovy Files">
197 1000 mdecorde
      </PostTXMHOMEInstallationStep>
198 1000 mdecorde
   </extension>
199 1078 mdecorde
   <extension
200 1078 mdecorde
         point="org.txm.searchengine.core.SearchEngine">
201 1078 mdecorde
      <SearchEngine
202 1078 mdecorde
            class="org.txm.searchengine.ts.TIGERSearchEngine">
203 1078 mdecorde
      </SearchEngine>
204 1078 mdecorde
   </extension>
205 458 mdecorde
206 458 mdecorde
</plugin>