Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to modify java editor's context menu per perspective?

The context menu is cluttered with items I will never use when working on a particular group of projects.

For example, I have aspectj installed. But most of my projects do not deal with aspectj. So I wish to create a perspective where aspectj items are not displayed.

I should not have to hack into each respective plug-in to do that.

I could configure the perspective to restrict the menu and toolbar items being displayed.

Therefore, common sense leads me to believe that I should be able to configure my perspective to reduce the number of items on the editor context popup menu. If there is a way, could you please let me know how?

like image 761
Blessed Geek Avatar asked Sep 12 '26 08:09

Blessed Geek


1 Answers

There are two options you can do. First, you can select the Customize Perspective... option from the Window menu, and disable Menu/Toolbar contributions.

And to disable some views in a permanently saveable way (e.g. it survives the closing of the perspective) you can save your current state into a new perspective using the Save Perspective... option from the Window menu.

like image 195
Zoltán Ujhelyi Avatar answered Sep 13 '26 23:09

Zoltán Ujhelyi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!