Feature #1667

RCP: The "Save annotations" entry of corpus node contextual menu should be disabled if the corpus has not been modified

Added by Sebastien Jacquot over 3 years ago. Updated about 3 years ago.

Status:New Start date:02/10/2016
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Annotation Spent time: -
Target version:TXM 0.7.8

Description

The "Save annotations" entry of corpus node contextual menu should be disabled if the corpus has not been modified (e.g.: as "File\Save").

Solution

Disable the entry menu if corpus is not annotated using a custom property tester:
https://groupes.renater.fr/wiki/txm-info/documentation_eclipse#test_d_affichage_de_commande_personnalise

Validation test

Select a corpus and see if the command is shown :
  • corpus imported without XTZ import module
  • corpus imported with XTZ import module
  • corpus imported with XTZ import module with the "*" mark

History

#1 Updated by Matthieu Decorde about 3 years ago

  • Tracker changed from Task to Feature

#2 Updated by Matthieu Decorde about 3 years ago

  • Description updated (diff)
  • % Done changed from 0 to 80

#3 Updated by Matthieu Decorde about 3 years ago

  • Description updated (diff)

#4 Updated by Matthieu Decorde about 3 years ago

  • Description updated (diff)

Also available in: Atom PDF