Bug 86771 - [RCP] [PerspectiveBar] Allow Open Perspective button to be hidden
Summary: [RCP] [PerspectiveBar] Allow Open Perspective button to be hidden
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement with 8 votes (vote)
Target Milestone: ---   Edit
Assignee: Daniel Rolka CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2005-02-26 23:47 EST by yipsilon zheng CLA
Modified: 2015-09-18 14:09 EDT (History)
14 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yipsilon zheng CLA 2005-02-26 23:47:03 EST
e.g. 

1. hide the "Open perspective" button.
2. control the shown perspectives in opened perspectives bar which is 
after "Open perspective" button.
Comment 1 Nick Edgar CLA 2005-03-07 16:28:10 EST
(2) is covered by bug 84226.

Changing title to reflect only (1).
Comment 2 Marcus Olk CLA 2005-08-04 10:17:53 EDT
I'd like to emphasize that it is really important to be able to hide the
'perspective switcher' button.

Reason being: we're desperatly trying to implement a rolebased UI contribution
filtering and the 'perspective switcher' allows a user to open perspectives
he's shall not open: the dialog accessable via the 'Other' menu item opens
a dialog with a 'Show all' check box allowing a user to open perspectives hidden
due to disabled capabilities (aka activities).
The latter is our lates attempt to implement rolebased UI contribution filtering
(Abuse! I know. Any other ideas?! We can't wait for 3.2 which promises to
have an improved command contribution mechanism...).

Comment 3 Nick Edgar CLA 2006-03-15 11:24:27 EST
Reassigning bugs in component areas that are changing ownership.
Comment 4 Jacob Robertson CLA 2006-08-09 08:38:33 EDT
+1 for my company.  This is an absolutely essential feature to fix.  We're going to have to hide the perspective bar and create our own toolbar, which is a very unfortunate workaround.
Comment 5 Alexander Bieber CLA 2007-01-26 16:34:37 EST
+1 for me as well.

As an alternative I might be good if the PerspectiveMenu (that is used by this button I think) could be configured to hide the "Other" menu item.

Additionally It would be good to be able to customize/hide the popup menu on open perspectives showing ("Customize", "Save As", "Reset" ...)
Comment 6 Boris Bokowski CLA 2007-04-27 09:04:07 EDT
Ran out of time for 3.3
Comment 7 Craig CLA 2007-07-24 02:55:58 EDT
Apart from hiding the "open perspective" button, it would be great to be able to add a subset of ones perspectives into the perspective bar. 

Currently all the perspectives that the user has opened will be added to the perspective bar. I would like to switch off this behaviour and only have my set of chosen perspectives displayed in the perspective bar. I want to use the perspective bar to navigate to between groups of perspectives. i.e Configuration and Health(status) etc..

Another thing that would be needed is to set the default (startup, first time) width of the perspective bar (when in the TOP RIGHT position). Because if one has more than two of these groups(perspectives) they tend to hidden from the user and would be useless as a navigation aid. Its not clear if it has been fixed in this bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=84603
Comment 8 Boris Bokowski CLA 2008-05-02 14:56:57 EDT
Mass update - removing 3.4 target. This was one of the bugs I marked for investigation (and potential fixing) in 3.4 but I ran out of time. Please ping on the bug if fixing it would be really important for 3.4, and does not require API changes or feature work.
Comment 9 Boris Bokowski CLA 2009-11-26 16:16:27 EST
Prakash is now responsible for watching bugs in the [RCP] component area.
Comment 10 Udo Walker CLA 2015-09-18 14:09:27 EDT
This one works definitively in Eclipse 3.6 since I did it in a RCP application of my own. You can hide all menus you like with the extension point org.eclipse.ui.activities. 

If it is still working with Eclipse Mars (4.x.x API) I don't know.