root / tmp / org.txm.analec.rcp / plugin.xml @ 1600
Historique | Voir | Annoter | Télécharger (12,95 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 |
<menuContribution
|
| 7 |
locationURI="menu:org.eclipse.ui.main.menu?after=menu.tools"> |
| 8 |
<menu
|
| 9 |
id="menu.urs" |
| 10 |
label="%menu.label" |
| 11 |
mnemonic="%menu.mnemonic"> |
| 12 |
<command
|
| 13 |
commandId="org.txm.annotation.urs.commands.LoadStructureFromGlozz" |
| 14 |
style="push"> |
| 15 |
<visibleWhen
|
| 16 |
checkEnabled="false"> |
| 17 |
<reference
|
| 18 |
definitionId="OneCorpusSelected"> |
| 19 |
</reference>
|
| 20 |
</visibleWhen>
|
| 21 |
</command>
|
| 22 |
<command
|
| 23 |
commandId="org.txm.annotation.urs.commands.EditAnnotationStructure" |
| 24 |
style="push"> |
| 25 |
<visibleWhen
|
| 26 |
checkEnabled="false"> |
| 27 |
<reference
|
| 28 |
definitionId="OneCorpusSelected"> |
| 29 |
</reference>
|
| 30 |
</visibleWhen>
|
| 31 |
</command>
|
| 32 |
<command
|
| 33 |
commandId="org.txm.annotation.urs.commands.EditVue" |
| 34 |
style="push"> |
| 35 |
<visibleWhen
|
| 36 |
checkEnabled="false"> |
| 37 |
<reference
|
| 38 |
definitionId="OneCorpusSelected"> |
| 39 |
</reference>
|
| 40 |
</visibleWhen>
|
| 41 |
</command>
|
| 42 |
<command
|
| 43 |
commandId="org.txm.annotation.urs.commands.SaveCorpus" |
| 44 |
style="push"> |
| 45 |
<visibleWhen
|
| 46 |
checkEnabled="false"> |
| 47 |
<reference
|
| 48 |
definitionId="OneCorpusSelected"> |
| 49 |
</reference>
|
| 50 |
</visibleWhen>
|
| 51 |
</command>
|
| 52 |
<separator
|
| 53 |
name="URSRCP.separator1" |
| 54 |
visible="true"> |
| 55 |
</separator>
|
| 56 |
<command
|
| 57 |
commandId="org.txm.annotation.urs.commands.ImportTEIAnnotations" |
| 58 |
style="push"> |
| 59 |
<visibleWhen
|
| 60 |
checkEnabled="false"> |
| 61 |
<reference
|
| 62 |
definitionId="OneCorpusSelected"> |
| 63 |
</reference>
|
| 64 |
</visibleWhen>
|
| 65 |
</command>
|
| 66 |
</menu>
|
| 67 |
</menuContribution>
|
| 68 |
<menuContribution
|
| 69 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.annotation"> |
| 70 |
<menu
|
| 71 |
id="corpora.menu.urs" |
| 72 |
label="%menu.label.0" |
| 73 |
mnemonic="%menu.mnemonic.0"> |
| 74 |
<command
|
| 75 |
commandId="org.txm.annotation.urs.commands.LoadStructureFromGlozz" |
| 76 |
style="push"> |
| 77 |
<visibleWhen
|
| 78 |
checkEnabled="false"> |
| 79 |
<reference
|
| 80 |
definitionId="OneCorpusSelected"> |
| 81 |
</reference>
|
| 82 |
</visibleWhen>
|
| 83 |
</command>
|
| 84 |
<command
|
| 85 |
commandId="org.txm.annotation.urs.commands.EditAnnotationStructure" |
| 86 |
style="push"> |
| 87 |
<visibleWhen
|
| 88 |
checkEnabled="false"> |
| 89 |
<reference
|
| 90 |
definitionId="OneCorpusSelected"> |
| 91 |
</reference>
|
| 92 |
</visibleWhen>
|
| 93 |
</command>
|
| 94 |
<command
|
| 95 |
commandId="org.txm.annotation.urs.commands.SaveCorpus" |
| 96 |
style="push"> |
| 97 |
<visibleWhen
|
| 98 |
checkEnabled="false"> |
| 99 |
<reference
|
| 100 |
definitionId="OneCorpusSelected"> |
| 101 |
</reference>
|
| 102 |
</visibleWhen>
|
| 103 |
</command>
|
| 104 |
<command
|
| 105 |
commandId="org.txm.annotation.urs.commands.ExportGlozzCorpus" |
| 106 |
style="push"> |
| 107 |
<visibleWhen
|
| 108 |
checkEnabled="false"> |
| 109 |
<reference
|
| 110 |
definitionId="OneCorpusSelected"> |
| 111 |
</reference>
|
| 112 |
</visibleWhen>
|
| 113 |
</command>
|
| 114 |
<command
|
| 115 |
commandId="org.txm.annotation.urs.commands.ExportTEICorpus" |
| 116 |
style="push"> |
| 117 |
<visibleWhen
|
| 118 |
checkEnabled="false"> |
| 119 |
<reference
|
| 120 |
definitionId="OneCorpusSelected"> |
| 121 |
</reference>
|
| 122 |
</visibleWhen>
|
| 123 |
</command>
|
| 124 |
<command
|
| 125 |
commandId="org.txm.annotation.urs.commands.ImportTEIAnnotations" |
| 126 |
style="push"> |
| 127 |
<visibleWhen
|
| 128 |
checkEnabled="false"> |
| 129 |
<reference
|
| 130 |
definitionId="OneCorpusSelected"> |
| 131 |
</reference>
|
| 132 |
</visibleWhen>
|
| 133 |
</command>
|
| 134 |
</menu>
|
| 135 |
</menuContribution>
|
| 136 |
<menuContribution
|
| 137 |
locationURI="menu:menu.file.export"> |
| 138 |
<command
|
| 139 |
commandId="org.txm.annotation.urs.commands.ExportTEICorpus" |
| 140 |
label="%command.label.0" |
| 141 |
style="push"> |
| 142 |
</command>
|
| 143 |
<command
|
| 144 |
commandId="org.txm.annotation.urs.commands.ExportGlozzCorpus" |
| 145 |
label="%command.label.1" |
| 146 |
style="push"> |
| 147 |
</command>
|
| 148 |
</menuContribution>
|
| 149 |
<menuContribution
|
| 150 |
locationURI="menu:menu.file.import?before=menu.file.import.separator.software"> |
| 151 |
<command
|
| 152 |
commandId="org.txm.annotation.urs.commands.ImportGlozzCorpus" |
| 153 |
style="push"> |
| 154 |
</command>
|
| 155 |
<command
|
| 156 |
commandId="org.txm.annotation.urs.commands.ImportTEICorpus" |
| 157 |
label="%command.label.2" |
| 158 |
style="push"> |
| 159 |
</command>
|
| 160 |
</menuContribution>
|
| 161 |
</extension>
|
| 162 |
<extension
|
| 163 |
point="org.eclipse.ui.commands"> |
| 164 |
<command
|
| 165 |
categoryId="org.txm.rcp.category.txm" |
| 166 |
defaultHandler="org.txm.annotation.urs.commands.LoadStructure" |
| 167 |
id="org.txm.annotation.urs.commands.LoadStructure" |
| 168 |
name="%command.name"> |
| 169 |
</command>
|
| 170 |
<command
|
| 171 |
categoryId="org.txm.rcp.category.txm" |
| 172 |
defaultHandler="org.txm.annotation.urs.commands.EditStructure" |
| 173 |
id="org.txm.annotation.urs.commands.EditAnnotationStructure" |
| 174 |
name="%command.name.0"> |
| 175 |
</command>
|
| 176 |
<command
|
| 177 |
categoryId="org.txm.rcp.category.txm" |
| 178 |
defaultHandler="org.txm.annotation.urs.commands.SaveStructure" |
| 179 |
id="org.txm.annotation.urs.commands.SaveStructure" |
| 180 |
name="%command.name.1"> |
| 181 |
</command>
|
| 182 |
<command
|
| 183 |
categoryId="org.txm.rcp.category.txm" |
| 184 |
defaultHandler="org.txm.annotation.urs.commands.LoadStructureFromGlozz" |
| 185 |
id="org.txm.annotation.urs.commands.LoadStructureFromGlozz" |
| 186 |
name="%command.name.2"> |
| 187 |
</command>
|
| 188 |
<command
|
| 189 |
categoryId="org.txm.rcp.category.txm" |
| 190 |
defaultHandler="org.txm.annotation.urs.commands.LoadCorpus" |
| 191 |
id="org.txm.annotation.urs.commands.LoadCorpus" |
| 192 |
name="%command.name.3"> |
| 193 |
</command>
|
| 194 |
<command
|
| 195 |
categoryId="org.txm.rcp.category.txm" |
| 196 |
defaultHandler="org.txm.annotation.urs.commands.SaveCorpus" |
| 197 |
id="org.txm.annotation.urs.commands.SaveCorpus" |
| 198 |
name="%command.name.4"> |
| 199 |
</command>
|
| 200 |
<command
|
| 201 |
categoryId="org.txm.rcp.category.txm" |
| 202 |
defaultHandler="org.txm.annotation.urs.commands.LoadVue" |
| 203 |
id="org.txm.annotation.urs.commands.LoadVue" |
| 204 |
name="%command.name.5"> |
| 205 |
</command>
|
| 206 |
<command
|
| 207 |
categoryId="org.txm.rcp.category.txm" |
| 208 |
defaultHandler="org.txm.annotation.urs.commands.SaveVue" |
| 209 |
id="org.txm.annotation.urs.commands.SaveVue" |
| 210 |
name="%command.name.6"> |
| 211 |
</command>
|
| 212 |
<command
|
| 213 |
categoryId="org.txm.rcp.category.txm" |
| 214 |
defaultHandler="org.txm.annotation.urs.commands.SaveStructureAsGlozzModel" |
| 215 |
id="org.txm.annotation.urs.commands.SaveStructureAsGlozzModel" |
| 216 |
name="%command.name.7"> |
| 217 |
</command>
|
| 218 |
<command
|
| 219 |
categoryId="org.txm.rcp.category.txm" |
| 220 |
defaultHandler="org.txm.annotation.urs.commands.ImportGlozzCorpus" |
| 221 |
id="org.txm.annotation.urs.commands.ImportGlozzCorpus" |
| 222 |
name="%command.name.8"> |
| 223 |
</command>
|
| 224 |
<command
|
| 225 |
categoryId="org.txm.rcp.category.txm" |
| 226 |
defaultHandler="org.txm.annotation.urs.commands.ImportGlozzAnnotations" |
| 227 |
id="org.txm.annotation.urs.commands.ImportGlozzAnnotations" |
| 228 |
name="%command.name.9"> |
| 229 |
</command>
|
| 230 |
<command
|
| 231 |
defaultHandler="org.txm.annotation.urs.commands.DoInstallStep" |
| 232 |
id="org.txm.annotation.urs.commands.DoInstallStep" |
| 233 |
name="%command.name.10"> |
| 234 |
</command>
|
| 235 |
<command
|
| 236 |
categoryId="org.txm.rcp.category.txm" |
| 237 |
defaultHandler="org.txm.annotation.urs.commands.ExportGlozzCorpus" |
| 238 |
id="org.txm.annotation.urs.commands.ExportGlozzCorpus" |
| 239 |
name="%command.name.12"> |
| 240 |
</command>
|
| 241 |
<command
|
| 242 |
categoryId="org.txm.rcp.category.txm" |
| 243 |
defaultHandler="org.txm.annotation.urs.commands.ExportTEICorpus" |
| 244 |
id="org.txm.annotation.urs.commands.ExportTEICorpus" |
| 245 |
name="%command.name.13"> |
| 246 |
</command>
|
| 247 |
<command
|
| 248 |
categoryId="org.txm.rcp.category.txm" |
| 249 |
defaultHandler="org.txm.annotation.urs.commands.ImportTEICorpus" |
| 250 |
id="org.txm.annotation.urs.commands.ImportTEICorpus" |
| 251 |
name="%command.name.14"> |
| 252 |
</command>
|
| 253 |
<command
|
| 254 |
categoryId="org.txm.rcp.category.txm" |
| 255 |
defaultHandler="org.txm.annotation.urs.commands.ImportTEIAnnotations" |
| 256 |
id="org.txm.annotation.urs.commands.ImportTEIAnnotations" |
| 257 |
name="%command.name.11"> |
| 258 |
</command>
|
| 259 |
<command
|
| 260 |
categoryId="org.txm.rcp.category.txm" |
| 261 |
defaultHandler="org.txm.annotation.urs.commands.EditVue" |
| 262 |
id="org.txm.annotation.urs.commands.EditVue" |
| 263 |
name="%command.name.16"> |
| 264 |
</command>
|
| 265 |
</extension>
|
| 266 |
<extension
|
| 267 |
point="org.eclipse.ui.views"> |
| 268 |
<view
|
| 269 |
allowMultiple="false" |
| 270 |
category="org.txm.rcp" |
| 271 |
class="org.txm.annotation.urs.view.ElementPropertiesView" |
| 272 |
icon="icons/pencil.png" |
| 273 |
id="org.txm.annotation.urs.view.ElementPropertiesView" |
| 274 |
name="%view.name" |
| 275 |
restorable="true"> |
| 276 |
</view>
|
| 277 |
<view
|
| 278 |
allowMultiple="false" |
| 279 |
category="org.txm.rcp" |
| 280 |
class="org.txm.annotation.urs.view.ElementSearchView" |
| 281 |
icon="platform:/plugin/org.txm.rcp/icons/functions/Search.png" |
| 282 |
id="org.txm.annotation.urs.view.ElementSearchView" |
| 283 |
name="%view.name.0" |
| 284 |
restorable="true"> |
| 285 |
</view>
|
| 286 |
</extension>
|
| 287 |
<extension
|
| 288 |
point="org.txm.rcp.extentionpoint.command"> |
| 289 |
<installcommand
|
| 290 |
class="org.txm.annotation.urs.commands.DoInstallStep"></installcommand> |
| 291 |
</extension>
|
| 292 |
<extension
|
| 293 |
point="org.eclipse.core.expressions.definitions"> |
| 294 |
<definition
|
| 295 |
id="CanAnnotateWithURS"> |
| 296 |
<test
|
| 297 |
forcePluginActivation="true" |
| 298 |
property="org.txm.annotation.urs.testers.canAnnotate"> |
| 299 |
</test>
|
| 300 |
</definition>
|
| 301 |
</extension>
|
| 302 |
<extension
|
| 303 |
point="org.eclipse.core.expressions.propertyTesters"> |
| 304 |
<propertyTester
|
| 305 |
class="org.txm.annotation.urs.testers.IsCorpusAnnotated" |
| 306 |
id="org.txm.annotation.urs.testers.IsCorpusAnnotated" |
| 307 |
namespace="org.txm.annotation.urs.testers" |
| 308 |
properties="canAnnotate" |
| 309 |
type="java.lang.Object"> |
| 310 |
</propertyTester>
|
| 311 |
</extension>
|
| 312 |
<extension
|
| 313 |
point="org.eclipse.ui.preferencePages"> |
| 314 |
<page
|
| 315 |
category="org.txm.rcp.preferences.UserPreferencePage" |
| 316 |
class="org.txm.annotation.urs.preferences.URSPreferencePage" |
| 317 |
id="org.txm.annotation.urs.preferences.URSPreferencePage" |
| 318 |
name="%page.name"> |
| 319 |
</page>
|
| 320 |
</extension>
|
| 321 |
<extension
|
| 322 |
point="org.txm.annotation.rcp.editor.AnnotationArea"> |
| 323 |
<annotationtoolbar
|
| 324 |
class="org.txm.annotation.urs.toolbar.UnitToolbar" |
| 325 |
position="1"> |
| 326 |
</annotationtoolbar>
|
| 327 |
<annotationtoolbar
|
| 328 |
class="org.txm.annotation.urs.toolbar.SchemaToolbar" |
| 329 |
position="2"> |
| 330 |
</annotationtoolbar>
|
| 331 |
</extension>
|
| 332 |
<extension
|
| 333 |
point="org.txm.PostTXMHOMEInstallationStep"> |
| 334 |
<PostTXMHOMEInstallationStep
|
| 335 |
class="org.txm.annotation.urs.InstallURSFiles" |
| 336 |
description="Install URS Files" |
| 337 |
name="URS macro"> |
| 338 |
</PostTXMHOMEInstallationStep>
|
| 339 |
</extension>
|
| 340 |
<extension
|
| 341 |
point="org.txm.annotation.core.AnnotationEngine"> |
| 342 |
<AnnotationEngine
|
| 343 |
class="org.txm.annotation.urs.URSCorpora" |
| 344 |
description="URS annotations"> |
| 345 |
</AnnotationEngine>
|
| 346 |
</extension>
|
| 347 |
|
| 348 |
</plugin>
|