Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Context Menu Provider
Context Menu Provider [message #225915] Fri, 03 November 2006 17:43 Go to next message
Eclipse UserFriend
Originally posted by: vb.prismtech.com

Hi,
I have a custom editor ( GraphicalEditorWithPalette ) . I noticed that the
ContextMenuProvider
for the editor always displays certain Menu options like "Run As", "Debug
As" , "Team" , "Compare With" & "Replace With"
grouped together. These options are not relevant to the editor. Is there a
way to get rid of them.

Thanks
Vikram
Re: Context Menu Provider [message #226121 is a reply to message #225915] Mon, 06 November 2006 06:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

Don't register your context menu with the EditorSite.

"Vikram" <vb@prismtech.com> wrote in message
news:eifv3u$qna$1@utils.eclipse.org...
> Hi,
> I have a custom editor ( GraphicalEditorWithPalette ) . I noticed that the
> ContextMenuProvider
> for the editor always displays certain Menu options like "Run As", "Debug
> As" , "Team" , "Compare With" & "Replace With"
> grouped together. These options are not relevant to the editor. Is there a
> way to get rid of them.
>
> Thanks
> Vikram
>
Re: Context Menu Provider [message #226144 is a reply to message #226121] Mon, 06 November 2006 15:11 Go to previous message
Eclipse UserFriend
Originally posted by: vb.prismtech.com

Thanks Pratik


"Pratik Shah" <none@unknown.com> wrote in message
news:eimjk1$v3b$1@utils.eclipse.org...
> Don't register your context menu with the EditorSite.
>
> "Vikram" <vb@prismtech.com> wrote in message
> news:eifv3u$qna$1@utils.eclipse.org...
>> Hi,
>> I have a custom editor ( GraphicalEditorWithPalette ) . I noticed that
>> the ContextMenuProvider
>> for the editor always displays certain Menu options like "Run As", "Debug
>> As" , "Team" , "Compare With" & "Replace With"
>> grouped together. These options are not relevant to the editor. Is there
>> a way to get rid of them.
>>
>> Thanks
>> Vikram
>>
>
>
Previous Topic:MultipageEditor and copy paste
Next Topic:GEF TreeViewer example?
Goto Forum:
  


Current Time: Wed Dec 01 07:24:11 GMT 2021

Powered by FUDForum. Page generated in 0.01959 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top