Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to remove the EditorPart tabs contextual menu contributions ?
How to remove the EditorPart tabs contextual menu contributions ? [message #491217] Tue, 13 October 2009 11:58 Go to next message
Romain Bioteau is currently offline Romain Bioteau
Messages: 62
Registered: August 2009
Location: Grenoble
Member
I would like to remove some entries in the contextual menu of an
EditorPart tab (New Editor,Close,Close All...etc).

Is there a way to do it programmaticaly or by using an extension point ?

Thanks
Romain


R&D Engineer at BonitaSoft
Re: How to remove the EditorPart tabs contextual menu contributions ? [message #491284 is a reply to message #491217] Tue, 13 October 2009 20:24 Go to previous messageGo to next message
Remy Suen is currently offline Remy Suen
Messages: 462
Registered: July 2009
Senior Member
On Tue, 13 Oct 2009 17:58:26 +0200, Romain Bioteau wrote:
> I would like to remove some entries in the contextual menu of an
> EditorPart tab (New Editor,Close,Close All...etc).
>
> Is there a way to do it programmaticaly or by using an extension point ?

I'm pretty sure these are hardcoded.

Remy
Re: How to remove the EditorPart tabs contextual menu contributions ? [message #491418 is a reply to message #491284] Wed, 14 October 2009 09:25 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

As Remy mentioned, these are hard coded by the presentation.

Rewriting a presentation to remove some menu items is a lot of work, however, but it is do-able.

PW


Previous Topic:How can I hide the icon on the view tab?
Next Topic:Calling ANT programatically
Goto Forum:
  


Current Time: Sat Aug 30 20:41:45 EDT 2014

Powered by FUDForum. Page generated in 0.01654 seconds