How to programmatically remove the "Detach" context menu item from an Eclipse RCP view toolbar?

43 Views Asked by At

I am working on an Eclipse RCP application and have a view where I want to remove the "Detach" context menu item from the toolbar programmatically. The "Detach" item appears when right-clicking on the toolbar of the view, and I want to remove it to customize the toolbar behavior. How can I achieve this programmatically?

0

There are 0 best solutions below