root / tmp / org.txm.searchengine.cqp.rcp / plugin.xml @ 505
History | View | Annotate | Download (9.2 kB)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
<?eclipse version="3.4"?>
|
3 |
<plugin>
|
4 |
<extension
|
5 |
point="org.eclipse.ui.commands"> |
6 |
<command
|
7 |
categoryId="org.eclipse.ui.category.navigate" |
8 |
defaultHandler="org.txm.rcp.commands.base.OpenBiblio" |
9 |
id="org.txm.rcp.commands.base.OpenBiblio" |
10 |
name="%command.name.63"> |
11 |
</command>
|
12 |
<command
|
13 |
defaultHandler="org.txm.rcp.commands.base.ExportCorpus" |
14 |
id="org.txm.rcp.commands.base.ExportCorpus" |
15 |
name="%command.name.52"> |
16 |
</command>
|
17 |
<command
|
18 |
defaultHandler="org.txm.rcp.commands.base.CreatePartition" |
19 |
id="org.txm.rcp.commands.base.CreatePartition" |
20 |
name="%command.name.2"> |
21 |
<commandParameter
|
22 |
id="CorpusParameter" |
23 |
name="%commandParameter.name.0" |
24 |
optional="true"> |
25 |
</commandParameter>
|
26 |
</command>
|
27 |
<command
|
28 |
defaultHandler="org.txm.rcp.commands.base.CreateSubCorpus" |
29 |
id="org.txm.rcp.commands.base.CreateSubCorpus" |
30 |
name="Subcorpus"> |
31 |
<commandParameter
|
32 |
id="CorpusParameter" |
33 |
name="%commandParameter.name.0" |
34 |
optional="true"> |
35 |
</commandParameter>
|
36 |
</command>
|
37 |
</extension>
|
38 |
<extension
|
39 |
point="org.eclipse.ui.menus"> |
40 |
<menuContribution
|
41 |
locationURI="popup:org.txm.rcp.views.BasesView"> |
42 |
<command
|
43 |
commandId="HIDEorg.txm.rcp2.commands.workspace.AddProject" |
44 |
label="%command.label.36" |
45 |
style="push"> |
46 |
<visibleWhen
|
47 |
checkEnabled="false"> |
48 |
<reference
|
49 |
definitionId="OneProjectSelected"> |
50 |
</reference>
|
51 |
</visibleWhen>
|
52 |
</command>
|
53 |
<command
|
54 |
commandId="org.txm.rcp.commands.workspace.AddBase" |
55 |
label="%command.label.37" |
56 |
style="push"> |
57 |
<visibleWhen
|
58 |
checkEnabled="false"> |
59 |
<reference
|
60 |
definitionId="OneProjectSelected"> |
61 |
</reference>
|
62 |
</visibleWhen>
|
63 |
</command>
|
64 |
<separator
|
65 |
name="org.txm.rcp.separator1"> |
66 |
</separator>
|
67 |
<command
|
68 |
commandId="org.txm.rcp.commands.base.DeleteInCorpora" |
69 |
icon="icons/functions/Delete.png" |
70 |
label="%command.label.65" |
71 |
style="push" |
72 |
tooltip="%command.tooltip.33"> |
73 |
<visibleWhen
|
74 |
checkEnabled="false"> |
75 |
<or>
|
76 |
<reference
|
77 |
definitionId="OnePartitionSelected"> |
78 |
</reference>
|
79 |
<reference
|
80 |
definitionId="OneSubCorpusSelected"> |
81 |
</reference>
|
82 |
<reference
|
83 |
definitionId="OneBaseSelected"> |
84 |
</reference>
|
85 |
<reference
|
86 |
definitionId="OneIndexSelected"> |
87 |
</reference>
|
88 |
<reference
|
89 |
definitionId="OneLexiconSelected"> |
90 |
</reference>
|
91 |
<reference
|
92 |
definitionId="OneConcordanceSelected"> |
93 |
</reference>
|
94 |
<reference
|
95 |
definitionId="OneCASelected"> |
96 |
</reference>
|
97 |
<reference
|
98 |
definitionId="OneSpecificitiesResultSelected"> |
99 |
</reference>
|
100 |
<reference
|
101 |
definitionId="OneMainCorpusSelected"> |
102 |
</reference>
|
103 |
</or>
|
104 |
</visibleWhen>
|
105 |
</command>
|
106 |
<command
|
107 |
commandId="org.txm.rcp.commands.base.OpenBiblio" |
108 |
icon="icons/functions/Biblio.png" |
109 |
label="%command.label.148" |
110 |
style="push" |
111 |
tooltip="%command.tooltip.91"> |
112 |
<visibleWhen
|
113 |
checkEnabled="false"> |
114 |
<or>
|
115 |
<reference
|
116 |
definitionId="OneBaseSelected"> |
117 |
</reference>
|
118 |
<reference
|
119 |
definitionId="OneTextSelected"> |
120 |
</reference>
|
121 |
</or>
|
122 |
</visibleWhen>
|
123 |
</command>
|
124 |
</menuContribution>
|
125 |
<menuContribution
|
126 |
locationURI="popup:corporaview.menu.file.export"> |
127 |
<command
|
128 |
commandId="org.txm.rcp.commands.base.ExportCorpus" |
129 |
icon="icons/functions/Compress.png" |
130 |
label="%command.name.52" |
131 |
style="push" |
132 |
tooltip="%command.tooltip.71"> |
133 |
<visibleWhen
|
134 |
checkEnabled="false"> |
135 |
<reference
|
136 |
definitionId="OneMainCorpusSelected"> |
137 |
</reference>
|
138 |
</visibleWhen>
|
139 |
</command>
|
140 |
</menuContribution>
|
141 |
<menuContribution
|
142 |
locationURI="menu:menu.file.export"> |
143 |
<command
|
144 |
commandId="org.txm.rcp.commands.base.ExportCorpus" |
145 |
icon="icons/functions/Compress.png" |
146 |
label="%command.name.52" |
147 |
style="push" |
148 |
tooltip="%command.tooltip.67"> |
149 |
<visibleWhen
|
150 |
checkEnabled="false"> |
151 |
<reference
|
152 |
definitionId="OneMainCorpusSelected"> |
153 |
</reference>
|
154 |
</visibleWhen>
|
155 |
</command>
|
156 |
</menuContribution>
|
157 |
<menuContribution
|
158 |
allPopups="true" |
159 |
locationURI="toolbar:org.txm.rcp.toolbarfile"> |
160 |
<command
|
161 |
commandId="org.txm.rcp.commands.base.ExportCorpus" |
162 |
icon="icons/functions/Compress.png" |
163 |
label="%command.name.52" |
164 |
style="push" |
165 |
tooltip="%command.tooltip.71"> |
166 |
<visibleWhen
|
167 |
checkEnabled="false"> |
168 |
<reference
|
169 |
definitionId="OneMainCorpusSelected"> |
170 |
</reference>
|
171 |
</visibleWhen>
|
172 |
</command>
|
173 |
</menuContribution>
|
174 |
<menuContribution
|
175 |
locationURI="toolbar:org.txm.rcp.toolbarcorpus"> |
176 |
<command
|
177 |
commandId="org.txm.rcp.commands.base.CreateSubCorpus" |
178 |
icon="icons/functions/SubCorpus.png" |
179 |
label="Subcorpus" |
180 |
style="push"> |
181 |
<visibleWhen
|
182 |
checkEnabled="false"> |
183 |
<reference
|
184 |
definitionId="OneCorpusSelected"> |
185 |
</reference>
|
186 |
</visibleWhen>
|
187 |
</command>
|
188 |
<command
|
189 |
commandId="org.txm.rcp.commands.base.CreatePartition" |
190 |
icon="icons/functions/Partition.png" |
191 |
label="%command.label.8" |
192 |
style="push" |
193 |
tooltip="%command.tooltip.4"> |
194 |
<visibleWhen
|
195 |
checkEnabled="false"> |
196 |
<reference
|
197 |
definitionId="OneCorpusSelected"> |
198 |
</reference>
|
199 |
</visibleWhen>
|
200 |
</command>
|
201 |
</menuContribution>
|
202 |
<menuContribution
|
203 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView"> |
204 |
<command
|
205 |
commandId="org.txm.rcp.commands.base.CreateSubCorpus" |
206 |
icon="icons/functions/SubCorpus.png" |
207 |
label="Subcorpus" |
208 |
style="push"> |
209 |
<visibleWhen
|
210 |
checkEnabled="false"> |
211 |
<reference
|
212 |
definitionId="OneCorpusSelected"> |
213 |
</reference>
|
214 |
</visibleWhen>
|
215 |
</command>
|
216 |
<command
|
217 |
commandId="org.txm.rcp.commands.base.CreatePartition" |
218 |
icon="icons/functions/Partition.png" |
219 |
label="%command.label.8" |
220 |
style="push" |
221 |
tooltip="%command.tooltip.4"> |
222 |
<visibleWhen
|
223 |
checkEnabled="false"> |
224 |
<reference
|
225 |
definitionId="OneCorpusSelected"> |
226 |
</reference>
|
227 |
</visibleWhen>
|
228 |
</command>
|
229 |
</menuContribution>
|
230 |
<menuContribution
|
231 |
locationURI="menu:menu.corpus"> |
232 |
<command
|
233 |
commandId="org.txm.rcp.commands.base.CreateSubCorpus" |
234 |
icon="icons/functions/SubCorpus.png" |
235 |
label="Subcorpus" |
236 |
style="push"> |
237 |
<visibleWhen
|
238 |
checkEnabled="false"> |
239 |
<reference
|
240 |
definitionId="OneCorpusSelected"> |
241 |
</reference>
|
242 |
</visibleWhen>
|
243 |
</command>
|
244 |
<command
|
245 |
commandId="org.txm.rcp.commands.base.CreatePartition" |
246 |
icon="icons/functions/Partition.png" |
247 |
label="%command.label.8" |
248 |
style="push" |
249 |
tooltip="%command.tooltip.4"> |
250 |
<visibleWhen
|
251 |
checkEnabled="false"> |
252 |
<reference
|
253 |
definitionId="OneCorpusSelected"> |
254 |
</reference>
|
255 |
</visibleWhen>
|
256 |
</command>
|
257 |
</menuContribution>
|
258 |
</extension>
|
259 |
|
260 |
</plugin>
|