Issues while Migration of eclipse 3.x RCP application to 4.x [message #1463027] |
Thu, 06 November 2014 06:19 |
gaurav dubey Messages: 45 Registered: July 2009 |
Member |
|
|
We are currently migrating RCP application build on eclipse indigo to eclipse luna(4.4), we are able to view all functionality of the application in eclipse luna but facing few issues related to eclipse platform:
1. In eclipse 3.7, if we set property configurer.setSaveAndRestore(true);, application starts supporting save and restore state, but in eclipse luna, it never goes in methods saveState() and restoreState() while exiting or relaunching application. I have also seen the call hierarchy and looks like these methods are no longer use. Can any one let me know what methods will be used if we want to perform some actions while saving state/restoring state of classes like ApplicationWorkbenchAdvisor or ApplicationWorkbenchWindowAdvisor
2. We have requirement from customer that if all the views displayed in specific placeholders will be closed, placeholder should not dispose, to achieve the behavior in eclipse indigo we have override the method isDurableFolder() in class ApplicationWorkbenchWindowAdvisor, and return as true, but looks like this behavior is not working in eclipse luna, what is the way to achieve the behavior in eclipse 4.
3. To open all perspectives while launching the application in eclipse indigo, we used to use the below property:
PrefUtil.getAPIPreferenceStore().setValue(
IWorkbenchPreferenceConstants.PERSPECTIVE_BAR_EXTRAS,
"all perspectives ids");
but seems it is not working in eclipse luna, is there any workaround to achieve the behavior i.e. open all perspectives while launching the application first time?
Thanks in advance.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03186 seconds