Statistiques
| Révision :

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

Historique | Voir | Annoter | Télécharger (5,5 ko)

1 466 mdecorde
<?xml version="1.0" encoding="UTF-8"?>
2 466 mdecorde
<?eclipse version="3.4"?>
3 2217 mdecorde
<plugin>
4 466 mdecorde
<extension
5 466 mdecorde
         point="org.eclipse.ui.editors">
6 466 mdecorde
7 466 mdecorde
         <editor
8 1199 mdecorde
            class="org.txm.queryindex.rcp.editors.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 973 mdecorde
            name="%editor.name">
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 940 sjacqu01
       adaptableType="org.txm.queryindex.core.functions.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 1005 sjacqu01
    <adapter
24 1005 sjacqu01
          type="org.eclipse.ui.model.IWorkbenchAdapter2">
25 1005 sjacqu01
    </adapter>
26 466 mdecorde
 </factory>
27 466 mdecorde
         </extension>
28 466 mdecorde
29 466 mdecorde
 <extension
30 466 mdecorde
         point="org.eclipse.ui.commands">
31 466 mdecorde
          <command
32 673 mdecorde
            categoryId="org.txm.rcp.category.txm"
33 940 sjacqu01
            defaultHandler="org.txm.queryindex.rcp.commands.function.ComputeQueryIndex"
34 673 mdecorde
            id="org.txm.rcp.commands.function.ComputeQueryIndex"
35 973 mdecorde
            name="%command.name">
36 466 mdecorde
      </command>
37 466 mdecorde
        </extension>
38 466 mdecorde
39 466 mdecorde
  <extension
40 466 mdecorde
         point="org.eclipse.ui.menus">
41 466 mdecorde
      <menuContribution
42 466 mdecorde
            allPopups="false"
43 673 mdecorde
            locationURI="toolbar:org.txm.rcp.toolbartools?before=org.txm.rcp.separator1">
44 466 mdecorde
         <command
45 673 mdecorde
               commandId="org.txm.rcp.commands.function.ComputeQueryIndex"
46 466 mdecorde
               icon="icons/functions/QueryIndex.png"
47 466 mdecorde
               style="push">
48 466 mdecorde
            <visibleWhen
49 466 mdecorde
                  checkEnabled="false">
50 466 mdecorde
               <or>
51 466 mdecorde
                  <reference
52 466 mdecorde
                        definitionId="OnePartitionSelected">
53 466 mdecorde
                  </reference>
54 466 mdecorde
                  <reference
55 466 mdecorde
                        definitionId="OneCorpusSelected">
56 466 mdecorde
                  </reference>
57 466 mdecorde
               </or>
58 466 mdecorde
            </visibleWhen>
59 466 mdecorde
         </command>
60 466 mdecorde
      </menuContribution>
61 466 mdecorde
      <menuContribution
62 466 mdecorde
            allPopups="false"
63 673 mdecorde
            locationURI="popup:org.txm.rcp.views.CorporaView">
64 466 mdecorde
         <command
65 673 mdecorde
               commandId="org.txm.rcp.commands.function.ComputeQueryIndex"
66 466 mdecorde
               icon="icons/functions/QueryIndex.png"
67 466 mdecorde
               style="push">
68 466 mdecorde
            <visibleWhen
69 466 mdecorde
                  checkEnabled="false">
70 466 mdecorde
               <or>
71 466 mdecorde
                  <reference
72 466 mdecorde
                        definitionId="OnePartitionSelected">
73 466 mdecorde
                  </reference>
74 466 mdecorde
                  <reference
75 466 mdecorde
                        definitionId="OneCorpusSelected">
76 466 mdecorde
                  </reference>
77 466 mdecorde
               </or>
78 466 mdecorde
            </visibleWhen>
79 466 mdecorde
         </command>
80 466 mdecorde
         <command
81 673 mdecorde
               commandId="org.txm.rcp.commands.function.ComputeQueryIndexOfTexts"
82 466 mdecorde
               icon="icons/functions/QueryIndexOfTexts.png"
83 466 mdecorde
               style="push">
84 466 mdecorde
            <visibleWhen
85 466 mdecorde
                  checkEnabled="false">
86 466 mdecorde
               <or>
87 466 mdecorde
                  <reference
88 466 mdecorde
                        definitionId="OneCorpusSelected">
89 466 mdecorde
                  </reference>
90 466 mdecorde
               </or>
91 466 mdecorde
            </visibleWhen>
92 466 mdecorde
         </command>
93 466 mdecorde
      </menuContribution>
94 466 mdecorde
      <menuContribution
95 466 mdecorde
            locationURI="menu:menu.tools">
96 466 mdecorde
         <command
97 673 mdecorde
               commandId="org.txm.rcp.commands.function.ComputeQueryIndex"
98 466 mdecorde
               icon="icons/functions/QueryIndex.png"
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 973 mdecorde
               label="%command.label.2"
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 940 sjacqu01
                    value="org.txm.queryindex.core.functions.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 940 sjacqu01
                    value="org.txm.queryindex.core.functions.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>