root / tmp / org.txm.index.rcp / plugin.xml @ 1256
Historique | Voir | Annoter | Télécharger (14,26 ko)
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|---|---|
| 2 |
<?eclipse version="3.4"?>
|
| 3 |
<plugin>
|
| 4 |
<extension
|
| 5 |
point="org.eclipse.ui.menus"> |
| 6 |
|
| 7 |
<menuContribution
|
| 8 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.tools.doc"> |
| 9 |
<command
|
| 10 |
commandId="org.txm.index.rcp.handlers.ComputeLexicon" |
| 11 |
icon="icons/lexicon.png" |
| 12 |
style="push"> |
| 13 |
<visibleWhen
|
| 14 |
checkEnabled="false"> |
| 15 |
<reference
|
| 16 |
definitionId="OneCorpusSelected"> |
| 17 |
</reference>
|
| 18 |
</visibleWhen>
|
| 19 |
</command>
|
| 20 |
<command
|
| 21 |
commandId="org.txm.index.rcp.handlers.ComputeIndex" |
| 22 |
icon="icons/index.png" |
| 23 |
style="push"> |
| 24 |
<visibleWhen
|
| 25 |
checkEnabled="false"> |
| 26 |
<or>
|
| 27 |
<reference
|
| 28 |
definitionId="OneCorpusSelected"> |
| 29 |
</reference>
|
| 30 |
</or>
|
| 31 |
</visibleWhen>
|
| 32 |
</command>
|
| 33 |
<command
|
| 34 |
commandId="org.txm.index.rcp.handlers.ComputePartitionIndex" |
| 35 |
icon="icons/partitionindex.png" |
| 36 |
style="push"> |
| 37 |
<visibleWhen
|
| 38 |
checkEnabled="false"> |
| 39 |
<or>
|
| 40 |
<reference
|
| 41 |
definitionId="OnePartitionSelected"> |
| 42 |
</reference>
|
| 43 |
</or>
|
| 44 |
</visibleWhen>
|
| 45 |
</command>
|
| 46 |
</menuContribution>
|
| 47 |
<menuContribution
|
| 48 |
locationURI="menu:menu.tools?after=menu.tools.separator.doc"> |
| 49 |
<command
|
| 50 |
commandId="org.txm.index.rcp.handlers.ComputeLexicon" |
| 51 |
icon="icons/lexicon.png" |
| 52 |
style="push"> |
| 53 |
<visibleWhen
|
| 54 |
checkEnabled="false"> |
| 55 |
<reference
|
| 56 |
definitionId="OneCorpusSelected"> |
| 57 |
</reference>
|
| 58 |
</visibleWhen>
|
| 59 |
</command>
|
| 60 |
<command
|
| 61 |
commandId="org.txm.index.rcp.handlers.ComputeIndex" |
| 62 |
icon="icons/index.png" |
| 63 |
style="push"> |
| 64 |
<visibleWhen
|
| 65 |
checkEnabled="false"> |
| 66 |
<or>
|
| 67 |
<reference
|
| 68 |
definitionId="OneCorpusSelected"> |
| 69 |
</reference>
|
| 70 |
</or>
|
| 71 |
</visibleWhen>
|
| 72 |
</command>
|
| 73 |
<command
|
| 74 |
commandId="org.txm.index.rcp.handlers.ComputePartitionIndex" |
| 75 |
icon="icons/partitionindex.png" |
| 76 |
style="push"> |
| 77 |
<visibleWhen
|
| 78 |
checkEnabled="false"> |
| 79 |
<or>
|
| 80 |
<reference
|
| 81 |
definitionId="OnePartitionSelected"> |
| 82 |
</reference>
|
| 83 |
</or>
|
| 84 |
</visibleWhen>
|
| 85 |
</command>
|
| 86 |
</menuContribution>
|
| 87 |
<menuContribution
|
| 88 |
allPopups="false" |
| 89 |
locationURI="toolbar:org.txm.rcp.toolbartools"> |
| 90 |
<command
|
| 91 |
commandId="org.txm.index.rcp.handlers.ComputeLexicon" |
| 92 |
icon="icons/lexicon.png" |
| 93 |
style="push"> |
| 94 |
<visibleWhen
|
| 95 |
checkEnabled="false"> |
| 96 |
<reference
|
| 97 |
definitionId="OneCorpusSelected"> |
| 98 |
</reference>
|
| 99 |
</visibleWhen>
|
| 100 |
</command>
|
| 101 |
<command
|
| 102 |
commandId="org.txm.index.rcp.handlers.ComputeIndex" |
| 103 |
icon="icons/index.png" |
| 104 |
style="push" |
| 105 |
tooltip="%command.tooltip"> |
| 106 |
<visibleWhen
|
| 107 |
checkEnabled="false"> |
| 108 |
<or>
|
| 109 |
<reference
|
| 110 |
definitionId="OneCorpusSelected"> |
| 111 |
</reference>
|
| 112 |
</or>
|
| 113 |
</visibleWhen>
|
| 114 |
</command>
|
| 115 |
</menuContribution>
|
| 116 |
<menuContribution
|
| 117 |
allPopups="false" |
| 118 |
locationURI="toolbar:org.txm.rcp.toolbartools?after=ComputeLexicalTableFromPartition"> |
| 119 |
<command
|
| 120 |
commandId="org.txm.index.rcp.handlers.ComputePartitionIndex" |
| 121 |
icon="icons/partitionindex.png" |
| 122 |
style="push"> |
| 123 |
<visibleWhen
|
| 124 |
checkEnabled="false"> |
| 125 |
<or>
|
| 126 |
<reference
|
| 127 |
definitionId="OnePartitionSelected"> |
| 128 |
</reference>
|
| 129 |
</or>
|
| 130 |
</visibleWhen>
|
| 131 |
</command>
|
| 132 |
</menuContribution>
|
| 133 |
<menuContribution
|
| 134 |
locationURI="popup:org.txm.index.rcp.editors.DictionnaryEditor"> |
| 135 |
<command
|
| 136 |
commandId="org.txm.index.rcp.handlers.ComputeIndex" |
| 137 |
icon="icons/index.png" |
| 138 |
label="%command.name.2" |
| 139 |
style="push"> |
| 140 |
</command>
|
| 141 |
</menuContribution>
|
| 142 |
<menuContribution
|
| 143 |
locationURI="popup:org.txm.internalview.rcp.editors.InternalViewEditor"> |
| 144 |
<command
|
| 145 |
commandId="org.txm.index.rcp.handlers.ComputeIndex" |
| 146 |
icon="icons/index.png" |
| 147 |
label="%command.name.2" |
| 148 |
style="push"> |
| 149 |
</command>
|
| 150 |
</menuContribution>
|
| 151 |
<menuContribution
|
| 152 |
locationURI="popup:ChartEditorContextMenuItemArea.ItemMenu"> |
| 153 |
<command
|
| 154 |
commandId="org.txm.index.rcp.handlers.ComputeIndex" |
| 155 |
icon="icons/index.png" |
| 156 |
label="%command.name.2" |
| 157 |
style="push"> |
| 158 |
<visibleWhen
|
| 159 |
checkEnabled="false"> |
| 160 |
<reference
|
| 161 |
definitionId="ProgressionEditorActive"> |
| 162 |
</reference>
|
| 163 |
</visibleWhen>
|
| 164 |
</command>
|
| 165 |
</menuContribution>
|
| 166 |
|
| 167 |
</extension>
|
| 168 |
<extension
|
| 169 |
point="org.eclipse.ui.editors"> |
| 170 |
<editor
|
| 171 |
class="org.txm.index.rcp.editors.IndexEditor" |
| 172 |
default="false" |
| 173 |
icon="icons/index.png" |
| 174 |
id="org.txm.index.rcp.editors.IndexEditor" |
| 175 |
name="%editor.name"> |
| 176 |
</editor>
|
| 177 |
<editor
|
| 178 |
class="org.txm.index.rcp.editors.DictionnaryEditor" |
| 179 |
default="false" |
| 180 |
icon="icons/lexicon.png" |
| 181 |
id="org.txm.index.rcp.editors.DictionnaryEditor" |
| 182 |
name="%editor.name.0"> |
| 183 |
</editor>
|
| 184 |
<editor
|
| 185 |
class="org.txm.index.rcp.editors.PartitionIndexEditor" |
| 186 |
default="false" |
| 187 |
icon="icons/partitionindex.png" |
| 188 |
id="org.txm.index.rcp.editors.PartitionIndexEditor" |
| 189 |
name="PartitionIndex"> |
| 190 |
</editor>
|
| 191 |
</extension>
|
| 192 |
<extension
|
| 193 |
point="org.eclipse.core.runtime.adapters"> |
| 194 |
<factory
|
| 195 |
adaptableType="org.txm.index.core.functions.Index" |
| 196 |
class="org.txm.index.rcp.adapters.IndexAdapterFactory"> |
| 197 |
<adapter
|
| 198 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
| 199 |
</adapter>
|
| 200 |
<adapter
|
| 201 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
| 202 |
</adapter>
|
| 203 |
</factory>
|
| 204 |
<factory
|
| 205 |
adaptableType="org.txm.index.core.functions.Lexicon" |
| 206 |
class="org.txm.index.rcp.adapters.LexiconAdapterFactory"> |
| 207 |
<adapter
|
| 208 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
| 209 |
</adapter>
|
| 210 |
<adapter
|
| 211 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
| 212 |
</adapter>
|
| 213 |
</factory>
|
| 214 |
<factory
|
| 215 |
adaptableType="org.txm.index.core.functions.PartitionIndex" |
| 216 |
class="org.txm.index.rcp.adapters.PartitionIndexAdapterFactory"> |
| 217 |
<adapter
|
| 218 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
| 219 |
</adapter>
|
| 220 |
<adapter
|
| 221 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
| 222 |
</adapter>
|
| 223 |
</factory>
|
| 224 |
</extension>
|
| 225 |
<extension
|
| 226 |
point="org.eclipse.ui.commands"> |
| 227 |
|
| 228 |
<command
|
| 229 |
categoryId="org.txm.rcp.category.txm" |
| 230 |
defaultHandler="org.txm.index.rcp.handlers.ComputeIndex" |
| 231 |
id="org.txm.index.rcp.handlers.ComputeIndex" |
| 232 |
name="%command.name" |
| 233 |
returnTypeId="org.txm.index.core.functions.Index"> |
| 234 |
</command>
|
| 235 |
<command
|
| 236 |
categoryId="org.txm.rcp.category.txm" |
| 237 |
defaultHandler="org.txm.index.rcp.handlers.ComputeLexicon" |
| 238 |
id="org.txm.index.rcp.handlers.ComputeLexicon" |
| 239 |
name="%command.name.0"> |
| 240 |
</command>
|
| 241 |
|
| 242 |
<command
|
| 243 |
defaultHandler="org.txm.synopticedition.rcp.commands.link.IndexToLexicalTable" |
| 244 |
id="org.txm.synopticedition.rcp.commands.link.IndexToLexicalTable" |
| 245 |
name="%command.name.43"> |
| 246 |
</command>
|
| 247 |
<command
|
| 248 |
categoryId="org.txm.rcp.category.txm" |
| 249 |
defaultHandler="org.txm.index.rcp.handlers.ComputePartitionIndex" |
| 250 |
id="org.txm.index.rcp.handlers.ComputePartitionIndex" |
| 251 |
name="PartitionIndex" |
| 252 |
returnTypeId="org.txm.index.core.functions.PartitionIndex"> |
| 253 |
</command>
|
| 254 |
|
| 255 |
|
| 256 |
</extension>
|
| 257 |
<extension
|
| 258 |
point="org.eclipse.core.expressions.definitions"> |
| 259 |
<definition
|
| 260 |
id="OneIndexSelected"> |
| 261 |
<with
|
| 262 |
variable="selection"> |
| 263 |
<iterate
|
| 264 |
ifEmpty="false" |
| 265 |
operator="and"> |
| 266 |
<instanceof
|
| 267 |
value="org.txm.index.core.functions.Index"> |
| 268 |
</instanceof>
|
| 269 |
</iterate>
|
| 270 |
</with>
|
| 271 |
</definition>
|
| 272 |
<definition
|
| 273 |
id="OneLexiconSelected"> |
| 274 |
<with
|
| 275 |
variable="selection"> |
| 276 |
<iterate
|
| 277 |
ifEmpty="false" |
| 278 |
operator="and"> |
| 279 |
<instanceof
|
| 280 |
value="org.txm.index.core.functions.Lexicon"> |
| 281 |
</instanceof>
|
| 282 |
</iterate>
|
| 283 |
</with>
|
| 284 |
</definition>
|
| 285 |
<definition
|
| 286 |
id="IndexEditorActive"> |
| 287 |
<with
|
| 288 |
variable="activePart"> |
| 289 |
<instanceof
|
| 290 |
value="org.txm.index.rcp.editors.IndexEditor"> |
| 291 |
</instanceof>
|
| 292 |
</with>
|
| 293 |
</definition>
|
| 294 |
<definition
|
| 295 |
id="LexiconEditorActive"> |
| 296 |
<with
|
| 297 |
variable="activePart"> |
| 298 |
<instanceof
|
| 299 |
value="org.txm.index.rcp.editors.DictionnaryEditor"> |
| 300 |
</instanceof>
|
| 301 |
</with>
|
| 302 |
</definition>
|
| 303 |
<definition
|
| 304 |
id="PartitionIndexEditorActive"> |
| 305 |
<with
|
| 306 |
variable="activePart"> |
| 307 |
<instanceof
|
| 308 |
value="org.txm.index.rcp.editors.PartitionIndexEditor"> |
| 309 |
</instanceof>
|
| 310 |
</with>
|
| 311 |
</definition>
|
| 312 |
<definition
|
| 313 |
id="OnePartitionIndexSelected"> |
| 314 |
<with
|
| 315 |
variable="selection"> |
| 316 |
<iterate
|
| 317 |
ifEmpty="false" |
| 318 |
operator="and"> |
| 319 |
<instanceof
|
| 320 |
value="org.txm.index.core.functions.PartitionIndex"> |
| 321 |
</instanceof>
|
| 322 |
</iterate>
|
| 323 |
</with>
|
| 324 |
</definition>
|
| 325 |
</extension>
|
| 326 |
<extension
|
| 327 |
point="org.txm.statengine.r.rcp.sendtor"> |
| 328 |
<sendtorcommand></sendtorcommand> |
| 329 |
</extension>
|
| 330 |
<extension
|
| 331 |
point="org.eclipse.ui.preferencePages"> |
| 332 |
<page
|
| 333 |
category="org.txm.rcp.preferences.UserPreferencePage" |
| 334 |
class="org.txm.index.rcp.preferences.IndexPreferencesPage" |
| 335 |
id="org.txm.index.rcp.preferences.IndexPreferencesPage" |
| 336 |
name="%page.name"> |
| 337 |
</page>
|
| 338 |
</extension>
|
| 339 |
<extension
|
| 340 |
point="org.eclipse.ui.handlers"> |
| 341 |
<handler
|
| 342 |
class="org.txm.index.rcp.handlers.SendIndexTo" |
| 343 |
commandId="org.txm.progression.rcp.handlers.ComputeProgression"> |
| 344 |
<activeWhen>
|
| 345 |
<and>
|
| 346 |
<or>
|
| 347 |
<reference
|
| 348 |
definitionId="IndexEditorActive"> |
| 349 |
</reference>
|
| 350 |
<reference
|
| 351 |
definitionId="LexiconEditorActive"> |
| 352 |
</reference>
|
| 353 |
<reference
|
| 354 |
definitionId="PartitionIndexEditorActive"> |
| 355 |
</reference>
|
| 356 |
|
| 357 |
</or>
|
| 358 |
<reference
|
| 359 |
definitionId="SendSelectionContextNotActive"> |
| 360 |
</reference>
|
| 361 |
</and>
|
| 362 |
</activeWhen>
|
| 363 |
</handler>
|
| 364 |
<handler
|
| 365 |
class="org.txm.index.rcp.handlers.SendIndexTo" |
| 366 |
commandId="org.txm.concordance.rcp.handlers.ComputeConcordance"> |
| 367 |
<activeWhen>
|
| 368 |
<and>
|
| 369 |
<or>
|
| 370 |
<reference
|
| 371 |
definitionId="IndexEditorActive"> |
| 372 |
</reference>
|
| 373 |
<reference
|
| 374 |
definitionId="LexiconEditorActive"> |
| 375 |
</reference>
|
| 376 |
<reference
|
| 377 |
definitionId="PartitionIndexEditorActive"> |
| 378 |
</reference>
|
| 379 |
</or>
|
| 380 |
|
| 381 |
|
| 382 |
<reference
|
| 383 |
definitionId="SendSelectionContextNotActive"> |
| 384 |
</reference>
|
| 385 |
|
| 386 |
</and>
|
| 387 |
</activeWhen>
|
| 388 |
</handler>
|
| 389 |
<handler
|
| 390 |
class="org.txm.index.rcp.handlers.SendIndexTo" |
| 391 |
commandId="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"> |
| 392 |
<activeWhen>
|
| 393 |
<and>
|
| 394 |
<or>
|
| 395 |
<reference
|
| 396 |
definitionId="IndexEditorActive"> |
| 397 |
</reference>
|
| 398 |
<reference
|
| 399 |
definitionId="LexiconEditorActive"> |
| 400 |
</reference>
|
| 401 |
<reference
|
| 402 |
definitionId="PartitionIndexEditorActive"> |
| 403 |
</reference>
|
| 404 |
</or>
|
| 405 |
<reference
|
| 406 |
definitionId="SendSelectionContextNotActive"> |
| 407 |
</reference>
|
| 408 |
</and>
|
| 409 |
</activeWhen>
|
| 410 |
</handler>
|
| 411 |
<handler
|
| 412 |
class="org.txm.index.rcp.handlers.SendIndexTo" |
| 413 |
commandId="org.txm.index.rcp.handlers.ComputeIndex"> |
| 414 |
<activeWhen>
|
| 415 |
<and>
|
| 416 |
<reference
|
| 417 |
definitionId="LexiconEditorActive"> |
| 418 |
</reference>
|
| 419 |
<reference
|
| 420 |
definitionId="SendSelectionContextNotActive"> |
| 421 |
</reference>
|
| 422 |
</and>
|
| 423 |
</activeWhen>
|
| 424 |
</handler>
|
| 425 |
</extension>
|
| 426 |
|
| 427 |
</plugin>
|