Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » upgrade preference at product update
upgrade preference at product update [message #1754394] Fri, 17 February 2017 03:29 Go to next message
Eclipse UserFriend
Hi,

I need to modify some of my preference settings stored in the preference store at the first time the new RCP version starts up. To be more precise the first time a specific workspace is opened with a new version.
I guess it should be similar to the workspace upgrade process when updating the Eclipse IDE.

My RCP is base on the IDE.

Does anyone have a hint where to look for a solution?

Re: upgrade preference at product update [message #1754640 is a reply to message #1754394] Tue, 21 February 2017 04:05 Go to previous messageGo to next message
Eclipse UserFriend
It seams there is no "official eclipse way" to do it. So I implemented my own update mechanism into the PreferenceInitializer extends AbstractPreferenceInitializer and storing the current preferences version into a preferences as well.
Re: upgrade preference at product update [message #1754641 is a reply to message #1754394] Tue, 21 February 2017 04:05 Go to previous message
Eclipse UserFriend
It seams there is no "official eclipse way" to do it. So I implemented my own update mechanism into the PreferenceInitializer extends AbstractPreferenceInitializer and storing the current preferences version into a preferences as well.
Previous Topic:Toggle command with state for every editor instance
Next Topic:Exporting files to other formats
Goto Forum:
  


Current Time: Fri Jul 04 16:01:09 EDT 2025

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

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

Back to the top