Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Hide views in RCP application - custom perspective(How to programatically hide certain views, which are not desired to be shown.)
Hide views in RCP application - custom perspective [message #1779520] Tue, 09 January 2018 02:38 Go to next message
Eclipse UserFriend
In my IDE based Eclipse application there is some views, I don't need, for example Outline view, or Tasks. So far I have found some solutions, to do that using activities or perspectives, but the problem is, it works with menu commands. I want to prepare my custom perspective at the launch of IDE. Which class or interface should I implement to intercept the behavior of Eclipse on startup?
Re: Hide views in RCP application - custom perspective [message #1779561 is a reply to message #1779520] Tue, 09 January 2018 11:05 Go to previous messageGo to next message
Eclipse UserFriend
The easiest approach is to customize the default perspective by removing those unnecessary views, and then using Window > Perspective > Save Perspective As... and replace the default perspective.

If you've defined your own perspective via the org.eclipse.ui.perspectives extension point, then you can launch with "-perspective perspectiveId" to use your perspective as the default. You can also do this using the "-pluginCustomization" to specify `org.eclipse.ui/defaultPerspectiveId` property to specify your perspective.
Re: Hide views in RCP application - custom perspective [message #1779685 is a reply to message #1779561] Thu, 11 January 2018 02:27 Go to previous message
Eclipse UserFriend
Extension point works for me. Thanks for reply.
Previous Topic:Class exchange - Problem with Classloader
Next Topic:CSS styling for Nebula Gallery and custom widgets in Eclipse 4.6
Goto Forum:
  


Current Time: Thu Jul 03 20:49:24 EDT 2025

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

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

Back to the top