Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse RT (runtime) » KeyBoard shortcuts(Keyboard shortcuts not working for the first time in my eclipse application)
KeyBoard shortcuts [message #830902] Wed, 28 March 2012 07:46
archana G is currently offline archana GFriend
Messages: 2
Registered: March 2012
Junior Member

I have created my eclipse application. I am using some keyboard shortcuts in it.When I launch my application for the first time, the keyboard shortcuts are not working. My binding service seems to be null. But when I close my application and launch it for the second time, keyboard shortcuts work fine. Can anyone provide me some input on this , inorder how to handle this issue.

Am sharing my code snippet

IBindingService bindingService = (IBindingService) workbench
TriggerSequence sequence = bindingService
KeyBinding binding = (KeyBinding) bindingService

if( binding != null){

ParameterizedCommand paramCommand = binding.getParameterizedCommand();
Command command = paramCommand.getCommand();


As my binding is null here , my keyboard shortcuts seems not work.

Any help will be appreciated

thanks in advance

Previous Topic:Self-hosted Frameworks
Next Topic:Eclipse crash
Goto Forum:

Current Time: Fri Oct 23 12:34:10 GMT 2020

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

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

Back to the top