Bug #1981
RCP: X.X, Use Eclipse editor dirty mechanism to prompt for annotation save
Statut: | Closed | Début: | 02/01/2017 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Annotation | Temps passé: | - | |
Version cible: | TXM Annotation URS 3.0 |
Description
Currently the save annotation prompt dialog is called when the editor dispose event is raised. It works but we should use Eclipse save features to do it. (e.g. when the text editor Eclipse prompt a save message)
MD: use firePropertyChange(PROP_DIRTY);
Historique
#1 Mis à jour par Matthieu Decorde il y a plus de 8 ans
- Sujet changé de RCP: X.X, Use Eclipse auto-save job to save annotations à RCP: X.X, Use Eclipse editor dirty mechanism to prompt for annotation save
- Description mis à jour (diff)
#2 Mis à jour par Matthieu Decorde il y a plus de 8 ans
- % réalisé changé de 0 à 80
use editor.fireIsDirty(); when the corpus is modified (create, delete, edit annotations) with the annotation toolbar or with the ElementPropertyView
editor.isDirty calls all ToolbarButton.isDirty() methods
and editor.doSave calls all ToolbarButton.doSave() methods
#3 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Statut changé de New à Closed
- % réalisé changé de 80 à 100