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:Suppress PropertySheet Undo/Redo
Next Topic:Overview window Thumbnail.run() infinite loop problem
Goto Forum:
  


Current Time: Thu Apr 25 17:37:14 GMT 2024

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

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

Back to the top