Révision 3441 TXM/trunk/org.txm.analec.rcp/plugin.xml
plugin.xml (revision 3441) | ||
---|---|---|
123 | 123 |
<visibleWhen |
124 | 124 |
checkEnabled="false"> |
125 | 125 |
<reference |
126 |
definitionId="OneCorpusSelected">
|
|
126 |
definitionId="CorpusNeedtoSaveURSAnnotation">
|
|
127 | 127 |
</reference> |
128 | 128 |
</visibleWhen> |
129 | 129 |
</command> |
... | ... | |
271 | 271 |
</parameter> |
272 | 272 |
</command> |
273 | 273 |
</menuContribution> |
274 |
<menuContribution |
|
275 |
allPopups="false" |
|
276 |
locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.rcp.toolbarcorpus.annotation"> |
|
277 |
<command |
|
278 |
commandId="org.txm.annotation.urs.commands.SaveCorpus" |
|
279 |
icon="platform:/plugin/org.txm.annotation.rcp/icons/functions/pencil_save.png" |
|
280 |
label="URS" |
|
281 |
mode="FORCE_TEXT" |
|
282 |
style="push" |
|
283 |
tooltip="URS"> |
|
284 |
<visibleWhen |
|
285 |
checkEnabled="false"> |
|
286 |
<reference |
|
287 |
definitionId="CorpusNeedtoSaveURSAnnotation"> |
|
288 |
</reference> |
|
289 |
</visibleWhen> |
|
290 |
</command> |
|
291 |
</menuContribution> |
|
274 | 292 |
</extension> |
275 | 293 |
<extension |
276 | 294 |
point="org.eclipse.ui.commands"> |
... | ... | |
423 | 441 |
property="org.txm.annotation.urs.testers.canAnnotate"> |
424 | 442 |
</test> |
425 | 443 |
</definition> |
444 |
<definition |
|
445 |
id="CorpusNeedtoSaveURSAnnotation"> |
|
446 |
<and> |
|
447 |
<reference |
|
448 |
definitionId="OneMainCorpusSelected"> |
|
449 |
</reference> |
|
450 |
<test |
|
451 |
forcePluginActivation="true" |
|
452 |
property="org.txm.annotation.urs.rcp.testers.IsURSCorpusDirty"> |
|
453 |
</test> |
|
454 |
</and> |
|
455 |
</definition> |
|
426 | 456 |
</extension> |
427 | 457 |
<extension |
428 | 458 |
point="org.eclipse.core.expressions.propertyTesters"> |
... | ... | |
491 | 521 |
class="org.txm.annotation.urs.preferences.URSPreferences"> |
492 | 522 |
</initializer> |
493 | 523 |
</extension> |
524 |
<extension |
|
525 |
point="org.eclipse.core.expressions.propertyTesters"> |
|
526 |
<propertyTester |
|
527 |
class="org.txm.annotation.urs.rcp.testers.IsURSCorpusDirty" |
|
528 |
id="org.txm.annotation.urs.rcp.testers.IsURSCorpusDirty" |
|
529 |
namespace="org.txm.annotation.urs.rcp.testers" |
|
530 |
properties="IsURSCorpusDirty" |
|
531 |
type="java.lang.Object"> |
|
532 |
</propertyTester> |
|
533 |
</extension> |
|
494 | 534 |
|
495 | 535 |
</plugin> |
Formats disponibles : Unified diff