Community
Participate
Working Groups
Created attachment 203978 [details] Patch that implements the enhancement Eclipse Platform remembers current preference or property page when appropriate dialog is reopened during the same user session. Attached patch implements similar functionality for AbstractPage - when the users comes back the page will select the same tab. I do not believe that this should be very robust so it would revert to first tab if it can't restore the tab (i.e. if the tab is n/a for selected project). Also note that there is a bug in AbstractPage implementation when page would not receive the ICPropertyTab.VISIBLE if it is opened during page creation (TabPage will not notify selection listeners when selection is set programmatically). This patch fixes that by extracting code from listener to updateSelectedTab method.
Thanks for the patch, pushed to master. This won't be 100% accurate if there are 2 property tabs being instance of the same class but I don't think we have any pages like that, if that is possible at all.
Closing task.
*** cdt git genie on behalf of Eugene Ostroukhov *** bug 358829: AbstractPage-derived pages should remember current tab [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=e28830a10b16122fa7825405b7fae52d50c22fad