Community
Participate
Working Groups
The perspective switcher of the perspectives coolbar can't be configured or hidden. There's no way to filter the list of perspectives to be shown by the switcher. If one tries to filter by using capabilities, the 'open perspective' dialog of the switcher control offers a 'show all' check box which turns of the filter. At least it should be possible to get rid of the switcher by setting a corrisponding flag at the coolbar.
If possible, could you describe the exact scenario (from a users perspective) that you are trying to support in your product? Kim, I'm adding you back as the discussion is around capabilities.
(In reply to comment #1) > If possible, could you describe the exact scenario (from a users perspective) > that you are trying to support in your product? We're composing an RCP application with a set of plugins and have to filter the contributions automatically read from the plugin manifests at runtime depending on the rights a user has assigned by her group. Due to the fact that the platform is lacking such a support we have to code it ourselves. Fair enough. But when it comes to the perspective selectors we have to hack those as well because those controls show all perspectives found in the running platform. We rewrote the corresponding menu item (org.eclipse.ui.actions.ContributionItemFactory#PERSPECTIVES_SHORTLIST) already to fulfill our needs. But it's impossible to configure the perspective cool bar's selector control to show only the allowed set of perspectives. So, it should be possible to provide some kind of filter to be able to restrict the list of perspectives available for the users (Quick List and the 'Open Perspective Dialog' of course. We removed the latter from our workbench menu for the same reason. Currently the user has no perspective coolbar (bummer) but a workbench menu item showing the list of available perspectives to choose from (including the a working checkmark of the currently active perstective, by the way :). Hiding the perspective selector control in the perspective coolbar would really help us, for a first solution.
+1 at least for hide/show take a look at new Office 12 UI: http://www.microsoft.com/presspass/images/features/2005/09-13Office12-Word_lg.jpg In order to "simulate" theirs one would use the perspective bar with constrained views. Their "perspective switcher" are the Write, Insert etc. buttons. To fully simulate it there should be an option to hide the context menu also (Dock on/Show text).
a workaround would be to use a regular coolbar btw
+1 please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=145065
Moving to triage...
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.