Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » remove "Open Perspective" button
remove "Open Perspective" button [message #634012] Wed, 20 October 2010 09:24 Go to next message
code404 is currently offline code404Friend
Messages: 6
Registered: October 2010
Junior Member
Hy,

Is it possible to remove the "Open Perspective" button from a RCP application? In our RCP we provided a fixed set of perspectives that must always all be visible. So this button is needless.

Thanks,
code
Re: remove "Open Perspective" button [message #634056 is a reply to message #634012] Wed, 20 October 2010 12:00 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Try
org.eclipse.ui.IWorkbenchPreferenceConstants.SHOW_OTHER_IN_P ERSPECTIVE_MENU
(and other preference constants). You can provide a
plugin_customization.ini and override the ones you want.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: remove "Open Perspective" button [message #634062 is a reply to message #634012] Wed, 20 October 2010 12:17 Go to previous message
code404 is currently offline code404Friend
Messages: 6
Registered: October 2010
Junior Member
org.eclipse.ui/SHOW_OPEN_ON_PERSPECTIVE_BAR=false
in my plugin_customization removes the "Open Perspective" button Smile

Thank you very much
Previous Topic:Product export: where have to put required features???
Next Topic:Change the composite
Goto Forum:
  


Current Time: Thu Apr 18 00:27:46 GMT 2024

Powered by FUDForum. Page generated in 0.02569 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top