Dynamically adding context/popup menus to Editors [message #329223] |
Mon, 16 June 2008 15:39  |
Eclipse User |
|
|
|
Originally posted by: prasad.chand.gmail.com
Hi All,
I wish to dynamically add a context/popup menu to an editor created by
me. I have declared a TextEditor inisde my editor. I have been following
"Building Commercial-Quality plugins" but I am unable to find any
examples of adding these menus dynamically *for TextEditors*. All the
examples have viewers or trees. Can someone please enlighten me about
how to add these menus. Any code samples would be greatly useful. I have
looked at the editorContextMenuAboutToShow() in TextEditor but it is a
protected method and I am already extending EditorPart.
I have been struggling for days with this problem.
Prasad
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03507 seconds