Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 07:38 Go to next message
Albert Houston is currently offline Albert HoustonFriend
Messages: 8
Registered: December 2017
Junior Member
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 16:05 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 786
Registered: January 2012
Senior Member

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.


Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Re: Hide views in RCP application - custom perspective [message #1779685 is a reply to message #1779561] Thu, 11 January 2018 07:27 Go to previous message
Albert Houston is currently offline Albert HoustonFriend
Messages: 8
Registered: December 2017
Junior Member
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: Tue Nov 13 15:39:14 GMT 2018

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

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

Back to the top