Reputation: 2169
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
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
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
Reputation: 6667
Goto
Window
Select Customize Perspective
,Menu Visibility
tab,Navigation, Window and Project
check boxes and click Ok
button.Here are screen shots:
Step:1
Step:2
Step:3 Finally Eclipse Menu
looks like below one.
Upvotes: 3