Community
Participate
Working Groups
These two options do not have any effect anymore on e4: - SHOW_OPEN_ON_PERSPECTIVE_BAR: setting this preference to false do not hide the open perspective button (this was working before) - PERSPECTIVE_BAR_EXTRAS: the extra perspectives listed here are not shown by default on the perspective bar. Those settings were set in the ApplicationWorkbenchWindowAdvisor: IPreferenceStore prefStore = PlatformUI.getPreferenceStore(); prefStore.setValue(IWorkbenchPreferenceConstants.DOCK_PERSPECTIVE_BAR, "RIGHT"); prefStore.setValue( IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS, false); prefStore.setValue( IWorkbenchPreferenceConstants.SHOW_OTHER_IN_PERSPECTIVE_MENU, false); prefStore.setValue( IWorkbenchPreferenceConstants.SHOW_OPEN_ON_PERSPECTIVE_BAR, false); prefStore.setValue( IWorkbenchPreferenceConstants.PERSPECTIVE_BAR_EXTRAS, LogAnPerspective.PERSPECTIVE_ID + "," + PatternEditPerspective.PERSPECTIVE_ID + "," + DebugPerspective.PERSPECTIVE_ID);
This is an issue for us as well, as we have a closed set of perspectives and we want them all to be displayed in the bar.
es we at Talend have the same issue.
Same here. Our application has a fixed set of perspectives we want to be initially shown for users on the perspective bar.
We have the same problem, where PERSPECTIVE_BAR_EXTRAS has no effect. The problem also exists for a system with Windows 7, Eclipse 4.5, Java 8. The flag worked for Eclipse 3.7, but doesn't work for Eclipse e4 anymore. Is there an alternative in eclipse e4 to get the same behaviour with something else? We want to show all perspectives at startup.
New Gerrit change created: https://git.eclipse.org/r/56196
The patchs adds support for the SHOW_OPEN_ON_PERSPECTIVE_BAR. For the extra perspectives I would rather not extend the PerspectiveSwitcher, because I would deal with it separately. The current idea of the perspective bar is that the toolbar shows all perspectives, which are on the perspective stack already. If you want more perspectives in there, I would rather place them on the perspective stack from the beginning...
Thank you for this patch. But there is still a bug, that the flag PERSPECTIVE_BAR_EXTRAS doesn't work. We want to upgrade old eclipse applications to eclipse e4. I think that there are lots of people that want to do that. Therefore it would be nice, if the compatibility layer would work exactly like the old eclipse version, to avoid sourcecode changes.
I am creating another bug for the remaining topic to be able to close this one first, see Bug 479126
Gerrit change https://git.eclipse.org/r/56196 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=e09f43a8bc366580c76d4c20dbb44c8d2c4e0f77
Please verify it the next build