Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Update application model, keep part of peristed data?(Is it possible to make an Update to the application model and keep the persisted Data?)
Update application model, keep part of peristed data? [message #1696707] Thu, 28 May 2015 07:13 Go to next message
Thomas Oettl is currently offline Thomas OettlFriend
Messages: 2
Registered: May 2015
Junior Member
We want to make an update to our E4 based RCP and want to modify e.g. the Menu-Structure of our application but don't want to clear the persisted state.

The user must be able to keep his settings to Perspectives and the new perspectives that he has added dynamicly to the application model at runtime.

Is there a way to only update parts of the persisted Data in the application model?
Re: Update application model, keep part of peristed data? [message #1698271 is a reply to message #1696707] Fri, 12 June 2015 17:22 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 719
Registered: January 2012
Senior Member

You could write a model processor (runs on every startup) that checks the model for a tag that you provide, and if not present then performs some changes.


Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:E4 Tools update site for Mars
Next Topic:org.eclipse.e4.core.di.annotations in v. 1.5.0
Goto Forum:

Current Time: Sun Mar 18 00:36:33 GMT 2018

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

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