Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Anyway to specify new KeyEvent.keyLocation in plugin.xml?
Anyway to specify new KeyEvent.keyLocation in plugin.xml? [message #661669] Fri, 25 March 2011 22:16 Go to next message
Max Mising name is currently offline Max Mising nameFriend
Messages: 54
Registered: September 2010
Member
The keyLocation field was added to KeyEvent in 3.6 to allow for differentiating between KEYPAD keys and Left/right keys of the same type like Shift. Is there any way to specify that you want a specific keyLocation when creating key bindings in the org.eclipse.ui.binding extension point?

Thanks

Max
Re: Anyway to specify new KeyEvent.keyLocation in plugin.xml? [message #661896 is a reply to message #661669] Mon, 28 March 2011 13:14 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 03/25/2011 06:16 PM, Max wrote:
> The keyLocation field was added to KeyEvent in 3.6 to allow for
> differentiating between KEYPAD keys and Left/right keys of the same type
> like Shift. Is there any way to specify that you want a specific
> keyLocation when creating key bindings in the org.eclipse.ui.binding
> extension point?

Unless it can be parsed out of the binding text, I don't think so. You
can open an enhancement request at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Previous Topic:Can I put controls other than buttons on the cool bar?
Next Topic:Open View in separate Window/Shell
Goto Forum:
  


Current Time: Fri Apr 26 09:45:46 GMT 2024

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

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

Back to the top