|Re: Context menu for a MultipageEditorPart [message #518383 is a reply to message #511711]
||Wed, 03 March 2010 13:00
| Wim Jongman
Registered: July 2009
Hi Patrick, |
You want to know how to active a context menu in an editor?
-- "640K ought to be enough for anybody." - Bill Gates, 1981
(Eclipse Old Skool Quote Service)
> Hello! :)
> I'm quite new to RCP - Development and I want to implement the
functionality to create a new page for my editor from a button in context
menu. I'm a bit clueless how to do this for an editor. On the net, i've only
found examples using views.
> The method to register a context menu needs a ISelectionProvider, which a
view normaly implements, but an editor not.
> Do i have to implement the ISelectionProvider for my editor content
manually or is there some better way?
> Thanks in advance! :)
Powered by FUDForum
. Page generated in 0.01465 seconds