[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: RCP Key Bindings

Lokesh Shah wrote:
* One of the key bindings I have is ctrl+L. This however clashes with "Go to Line" binding of the text editor. How do I override the "Go to Line" action with my action?

Figuredout this one. I needed to define my own context and make "org.eclipse.ui.textEditorScope" as its parent.


That leaves the 2nd problem. Anyone know how to hide the keys bindings that are not needed?

AFAIK you cannot remove commands (file bugs if a command is there that you deem wrong in an RCP app). You can however remove a keybinding for a command in your context by creating a binding with the same key sequence and an empty command attribute (see the bindings extension point and search for "deletion").


-tom