Statistics
| Revision:

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

History | View | Annotate | Download (5.6 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 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 973 mdecorde
               label="%command.label"
48 466 mdecorde
               style="push">
49 466 mdecorde
            <visibleWhen
50 466 mdecorde
                  checkEnabled="false">
51 466 mdecorde
               <or>
52 466 mdecorde
                  <reference
53 466 mdecorde
                        definitionId="OnePartitionSelected">
54 466 mdecorde
                  </reference>
55 466 mdecorde
                  <reference
56 466 mdecorde
                        definitionId="OneCorpusSelected">
57 466 mdecorde
                  </reference>
58 466 mdecorde
               </or>
59 466 mdecorde
            </visibleWhen>
60 466 mdecorde
         </command>
61 466 mdecorde
      </menuContribution>
62 466 mdecorde
      <menuContribution
63 466 mdecorde
            allPopups="false"
64 673 mdecorde
            locationURI="popup:org.txm.rcp.views.CorporaView">
65 466 mdecorde
         <command
66 673 mdecorde
               commandId="org.txm.rcp.commands.function.ComputeQueryIndex"
67 466 mdecorde
               icon="icons/functions/QueryIndex.png"
68 973 mdecorde
               label="%command.label.0"
69 466 mdecorde
               style="push">
70 466 mdecorde
            <visibleWhen
71 466 mdecorde
                  checkEnabled="false">
72 466 mdecorde
               <or>
73 466 mdecorde
                  <reference
74 466 mdecorde
                        definitionId="OnePartitionSelected">
75 466 mdecorde
                  </reference>
76 466 mdecorde
                  <reference
77 466 mdecorde
                        definitionId="OneCorpusSelected">
78 466 mdecorde
                  </reference>
79 466 mdecorde
               </or>
80 466 mdecorde
            </visibleWhen>
81 466 mdecorde
         </command>
82 466 mdecorde
         <command
83 673 mdecorde
               commandId="org.txm.rcp.commands.function.ComputeQueryIndexOfTexts"
84 466 mdecorde
               icon="icons/functions/QueryIndexOfTexts.png"
85 466 mdecorde
               style="push">
86 466 mdecorde
            <visibleWhen
87 466 mdecorde
                  checkEnabled="false">
88 466 mdecorde
               <or>
89 466 mdecorde
                  <reference
90 466 mdecorde
                        definitionId="OneCorpusSelected">
91 466 mdecorde
                  </reference>
92 466 mdecorde
               </or>
93 466 mdecorde
            </visibleWhen>
94 466 mdecorde
         </command>
95 466 mdecorde
      </menuContribution>
96 466 mdecorde
      <menuContribution
97 466 mdecorde
            locationURI="menu:menu.tools">
98 466 mdecorde
         <command
99 673 mdecorde
               commandId="org.txm.rcp.commands.function.ComputeQueryIndex"
100 466 mdecorde
               icon="icons/functions/QueryIndex.png"
101 973 mdecorde
               label="%command.label.1"
102 466 mdecorde
               style="push">
103 466 mdecorde
            <visibleWhen
104 466 mdecorde
                  checkEnabled="false">
105 466 mdecorde
               <or>
106 466 mdecorde
                  <reference
107 466 mdecorde
                        definitionId="OnePartitionSelected">
108 466 mdecorde
                  </reference>
109 466 mdecorde
                  <reference
110 466 mdecorde
                        definitionId="OneCorpusSelected">
111 466 mdecorde
                  </reference>
112 466 mdecorde
               </or>
113 466 mdecorde
            </visibleWhen>
114 466 mdecorde
         </command>
115 466 mdecorde
         <command
116 673 mdecorde
               commandId="org.txm.rcp.commands.function.ComputeQueryIndexOfTexts"
117 466 mdecorde
               icon="icons/functions/QueryIndexOfTexts.png"
118 466 mdecorde
               style="push">
119 466 mdecorde
            <visibleWhen
120 466 mdecorde
                  checkEnabled="false">
121 466 mdecorde
               <or>
122 466 mdecorde
                  <reference
123 466 mdecorde
                        definitionId="OneCorpusSelected">
124 466 mdecorde
                  </reference>
125 466 mdecorde
               </or>
126 466 mdecorde
            </visibleWhen>
127 466 mdecorde
         </command>
128 466 mdecorde
      </menuContribution>
129 466 mdecorde
      <menuContribution
130 466 mdecorde
            locationURI="menu:menu.help.plugins">
131 466 mdecorde
         <command
132 673 mdecorde
               commandId="org.txm.rcp.commands.OpenBrowser"
133 973 mdecorde
               label="%command.label.2"
134 466 mdecorde
               style="push">
135 466 mdecorde
            <parameter
136 673 mdecorde
                  name="org.txm.rcp.commands.commandParameter2"
137 466 mdecorde
                  value="https://groupes.renater.fr/wiki/txm-users/public/extensions#QueryIndex">
138 466 mdecorde
            </parameter>
139 466 mdecorde
         </command>
140 466 mdecorde
      </menuContribution>
141 466 mdecorde
   </extension>
142 466 mdecorde
  <extension
143 466 mdecorde
        point="org.eclipse.core.expressions.definitions">
144 466 mdecorde
     <definition
145 466 mdecorde
           id="OneQueryIndexSelected">
146 466 mdecorde
        <with
147 466 mdecorde
              variable="selection">
148 466 mdecorde
           <iterate
149 466 mdecorde
                 ifEmpty="false"
150 466 mdecorde
                 operator="and">
151 466 mdecorde
              <instanceof
152 940 sjacqu01
                    value="org.txm.queryindex.core.functions.QueryIndex">
153 466 mdecorde
              </instanceof>
154 466 mdecorde
           </iterate>
155 466 mdecorde
        </with>
156 466 mdecorde
     </definition>
157 466 mdecorde
     <definition
158 466 mdecorde
           id="OneQueryIndexOfTextsSelected">
159 466 mdecorde
        <with
160 466 mdecorde
              variable="selection">
161 466 mdecorde
           <iterate
162 466 mdecorde
                 ifEmpty="false"
163 466 mdecorde
                 operator="and">
164 466 mdecorde
              <instanceof
165 940 sjacqu01
                    value="org.txm.queryindex.core.functions.ExpI">
166 466 mdecorde
              </instanceof>
167 466 mdecorde
           </iterate>
168 466 mdecorde
        </with>
169 466 mdecorde
     </definition>
170 466 mdecorde
  </extension>
171 466 mdecorde
</plugin>