lowcoupling
lowcoupling

Reputation: 2169

How to Hide Eclipse Menus

I am about to release an Eclipse RCP and I'd like to hide some menus such as 'Navitation', 'Window', 'Project' etc. I can't see how to do that through activities, what is the right way to do that?

Upvotes: 0

Views: 358

Answers (3)

Fredrik
Fredrik

Reputation: 10646

I agree with Alexanders suggestion to remove the plugins that contribute to the user interface. But if those plugins are still something the user might need, you should create your own custom perspective and define what is available in that perspective. You can define your RCP to use this perspective as default.

Relevant extension point for this is org.eclipse.ui.perspectives. This way the default perspective is as you decide, but the RCP isn't completly crippled for users who might want to use other views.

Upvotes: 0

Alex K.
Alex K.

Reputation: 3304

Those menus are contributed by related Eclipse plugins, you need to remove those plugins from the your target platform, if you don't require them.

Also I had kind of the similar question some time ago. May be the solution specified by Martti Käärik would work for you as well.

Upvotes: 1

UdayKiran Pulipati
UdayKiran Pulipati

Reputation: 6667

Goto

  1. Window Select Customize Perspective,
  2. Select Menu Visibility tab,
  3. uncheck Navigation, Window and Project check boxes and click Ok button.

Here are screen shots:

Step:1

Window - Customize Perspective

Step:2

Menu Visibility

Step:3 Finally Eclipse Menu looks like below one.

menu

Upvotes: 3

Related Questions