Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] Need help for Auto-save

Hello,

About https://bugs.eclipse.org/bugs/show_bug.cgi?id=486644 (the auto-save in eclipse), I pushed a first contribution https://git.eclipse.org/r/#/c/66742/. The countdown associated to the auto-save is supposed to reset when a change occurs in the active editor.
The problem is that the SaveAllDirtyPartsAddon class has an IEventBroker that subscribes to UIEvents.Dirtyable.TOPIC_DIRTY, but this is not the right event to subscribe, because when an editor is already dirty, then a change in this editor will not send another dirty event.
I need to subscribe to any change in the (active) editor. Is anybody can help me about this ?

Thanks in advance

Best Regards,
--

Axel RICHARD
Eclipse Consultant & EMF Compare committer
+33 2 51 13 82 14

7 Boulevard Ampère - 44481 Carquefou - France
obeo.fr | twitter | linkedin


Back to the top