clearing workbench state outside of WorkbenchAdvisor [message #466326] |
Tue, 17 April 2007 20:00 |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03489 seconds