|Re: How to customize View part popup menu [message #757935 is a reply to message #757291]
||Thu, 17 November 2011 10:01
| Daniel KrÃ¼gler
Registered: July 2009
On 2011-11-17 15:20, gaurav dubey wrote:|
> Hello All,
> I am using view part, but we would require a feature [close all/Close others option on right click on view part popup menu, like eclipse displaying in editor area,
> Is it possible to somehow extend the view part popup menu or not?(Screenshot attached)
> One more question is can i use editor as view part to display swt component if the customization is not possible in view part.
Just use the org.eclipse.ui.menus extension point and provide a command
with a locationURI that starts with
For more details see the org.eclipse.ui.menus extension point description.
Remark: Your view part must have registered a context menu via its site
in the createPartControl method using the registerContextMenu function.
HTH & Greetings from Bremen,
- Daniel Krügler
Powered by FUDForum
. Page generated in 0.02633 seconds