Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How to add context menu & key binding to CEditor?(Key binding doesn't work)
How to add context menu & key binding to CEditor? [message #644245] Fri, 10 December 2010 08:27
Mark Anderson is currently offline Mark AndersonFriend
Messages: 8
Registered: October 2010
Junior Member
Hi all,

I'm extending CDT 7.0 for some purposes on Eclipse Helios.
I've made context menu on CEditor via viewer contribution of org.eclipse.ui.popupMenus extension point.


Above works great... but I have to add keyboard shortcut for this action.
So I've also extended org.eclipse.ui.commands and org.eclipse.ui.bindings. But key bindings doesn't work.
The key binding I've created is properly existed in the Preferences (Keys) .
How can I handle this situation?
Is there any way to make context menu CEditor of CDT?

Have a nice day and thanks in advance for any comments.
Previous Topic:linker error: can't find _main
Next Topic:static linking
Goto Forum:

Current Time: Thu Apr 27 01:41:43 GMT 2017

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

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