Feature #1665
RCP: X.X, save annotation command corpus editors management V1
Status: | New | Start date: | 02/09/2016 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | Annotation | Spent time: | - | ||
Target version: | TXM 0.7.8 |
Description
The save annotation command rebuilds the root corpus. All its descendants objects (sub-corpus, partition, results, etc.) and results editors must be updated or closed/deleted.
Solution¶
First strategy:- at the beginning of the 'save annotation' command, open a warning dialog box "All results windows of the corpus will be deleted. Continue?"
- Yes:
- a) close or delete all descendants of the corpus to update
- b) update the corpus
- Cancel: the user can export some results and call 'save annotations' again later
- Yes:
Validation test¶
- select a XTZ corpus equiped with a KR and some types+values
- create some annotations
- the corpus name should have a "*" after its name
- in its contextual menu the "Save annotation" command is available, select it
- a warning dialog is shown, press "OK"
- a progression dialog is shown when done the editors using the corpus are close
- the new annotations are queryable in the concordance with a query like <typename value="thevalue"> []+ </typename>
Related issues
History
#1 Updated by Matthieu Decorde almost 8 years ago
- Subject changed from RCP: X.X, save annotation command corpus editors management to RCP: X.X, save annotation command corpus editors management V1
- Description updated (diff)
- % Done changed from 0 to 80
#2 Updated by Matthieu Decorde over 7 years ago
- Description updated (diff)
#3 Updated by Matthieu Decorde over 7 years ago
- Description updated (diff)