Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » autosave snapshot
autosave snapshot [message #547681] Mon, 19 July 2010 10:41
Mauro Condarelli is currently offline Mauro CondarelliFriend
Messages: 428
Registered: September 2009
Senior Member
I have a moderately complex Editor (WorldEditor extends FormEditor
implements IPersistableEditor, IPreferenceChangeListener) that edits an
EMF model.
I do not have a workspace concept; just a file in the filesystem.

I would like to add Autosave capabilities; In particular I would like to:
- Autosave to temp file when user pauses for a specified number of seconds.
- Autosave to temp file every x minutes even if the user keeps changing
- Delete temp file when the user does a real Save (or rename temp to
real filename).
- Keep a certain number of old versions on Save (numbered backup).

Is there any infrastructure to achieve this (or something similar)?
I saw nothing (aside from which seems old,
workspace-centric and Text-centric), but that might be my
short-sightedness. :)

Can someone suggest the Right Way to implement this?

Thanks in Advance
Previous Topic:Integrate log4J Logging
Next Topic:Problem with setting the classpath
Goto Forum:

Current Time: Fri Oct 07 22:25:12 GMT 2022

Powered by FUDForum. Page generated in 0.01916 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top