Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Issues while Migration of eclipse 3.x RCP application to 4.x(Issues while Migration of eclipse 3.x RCP application to 4.x)
Issues while Migration of eclipse 3.x RCP application to 4.x [message #1463027] Thu, 06 November 2014 06:19 Go to next message
gaurav dubey is currently offline gaurav dubeyFriend
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.


Re: Issues while Migration of eclipse 3.x RCP application to 4.x [message #1709631 is a reply to message #1463027] Tue, 29 September 2015 17:41 Go to previous message
David Chan is currently offline David ChanFriend
Messages: 3
Registered: September 2015
Junior Member
Hello,

Have you had any luck fixing the restore issue?
Previous Topic:Make objectContributions to e4 popup menu?
Next Topic:Explicitly set dirty flag on GEF Editor
Goto Forum:
  


Current Time: Tue Apr 23 10:18:20 GMT 2024

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

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

Back to the top