Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » clearing workbench state outside of WorkbenchAdvisor
clearing workbench state outside of WorkbenchAdvisor [message #466326] Tue, 17 April 2007 20:00 Go to next message
Eclipse UserFriend
Originally posted by: bsimpson.mstc.state.ms.us

I have a plugin update to my RCP app in which the ids and/or class names
of some of the plugin's views have changed from what they were in the
previous version. I always set saveAndRestore to true in my
WorkbenchConfigurer because that's what the user prefers. This causes
the workbench to not restore properly upon restart after this particular
update because so many of the view ids and class names have changed.

I need a way to make sure the workbench state is cleared after an update
is downloaded and before the next workbench restart. I can't figure out
how to get a reference to the WorkbenchConfigurer so I can call
setSaveAndRestore(false) inside the action I'm using to trigger the
update. Is there some other way to programmatically clear the workbench
state on exit without having a reference to the WorkbenchConfigurer?

Barry
Re: clearing workbench state outside of WorkbenchAdvisor [message #467415 is a reply to message #466326] Thu, 03 May 2007 15:27 Go to previous message
Eclipse UserFriend
Originally posted by: maurice.rosenfeld.tuhh.de

Have you found any solution yet? I'm facing nearly the same problem. I also need to reference the configurer but don't know how...
Previous Topic:Example of an InstallHandler implementation!
Next Topic:IPackageFragmentRoot
Goto Forum:
  


Current Time: Thu Mar 28 18:21:30 GMT 2024

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

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

Back to the top