Bug 109881 - [PerspectiveBar] Perspective Switcher can't be configured or hidden
Summary: [PerspectiveBar] Perspective Switcher can't be configured or hidden
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-19 10:56 EDT by Marcus Olk CLA
Modified: 2019-09-06 15:35 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Olk CLA 2005-09-19 10:56:31 EDT
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.
Comment 1 Michael Van Meekeren CLA 2005-09-19 14:05:17 EDT
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.
Comment 2 Marcus Olk CLA 2005-09-20 03:53:06 EDT
(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.
Comment 3 Sebastian Davids CLA 2005-10-28 11:58:24 EDT
+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).
Comment 4 Sebastian Davids CLA 2005-10-28 11:59:58 EDT
a workaround would be to use a regular coolbar btw
Comment 5 Michael Seele CLA 2007-06-05 07:32:54 EDT
+1 

please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=145065
Comment 6 Eric Moffatt CLA 2009-03-05 14:54:51 EST
Moving to triage...
Comment 7 Eclipse Webmaster CLA 2019-09-06 15:29:44 EDT
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.
Comment 8 Eclipse Webmaster CLA 2019-09-06 15:35:19 EDT
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.