Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to filter RCP key bindings like escape key ?(I would like to add other key press that should be handled as an out of order event.)
How to filter RCP key bindings like escape key ? [message #723388] Thu, 08 September 2011 12:53 Go to next message
Sokaris Mykerinos is currently offline Sokaris MykerinosFriend
Messages: 3
Registered: September 2011
Location: Paris
Junior Member
Hello,

I would like the {ENTER} key would be handled as an out-of-order event to by pass key bindings like the {ESC} key that works well as designed with WorkbenchKeyboard#isOutOfOrderKey(List).
I use a AutoCompleteField on a combo, and I cannot select proposal item : The event is eaten by the key binding handler.

I can provide a project to demonstrate the problem.

Regards.
Re: How to filter RCP key bindings like escape key ? [message #804963 is a reply to message #723388] Thu, 23 February 2012 07:36 Go to previous message
Sokaris Mykerinos is currently offline Sokaris MykerinosFriend
Messages: 3
Registered: September 2011
Location: Paris
Junior Member
There were several parameters that comes into account:
- There was a handler on {ENTER} so when user hit {ENTER} to choose an item from auto complete combo, the event was catched first by handler.
- The auto complete combo control was customized to replace value if current written is invalid.

SOLUTION:
1st: use jface keybinding for combo
2nd: remove {ENTER} context when proposal dialog is opened.
Previous Topic:Drag project from Navigator
Next Topic:"Folder virtualization" and RCP excetuables
Goto Forum:
  


Current Time: Mon Nov 30 09:06:02 GMT 2020

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

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

Back to the top