Hi All,
I am using keyboard shortcuts in my appliocation.
I am providing handlers for the paste action.
For some reason the paste does not work initially but after doing some other operations it works.
I enabled the tracing in the debug config and found the command is not enabled and hence the NotEnabledException.
I am creating the action in my code.
Then assigning the action handler to the action bar of the UI and then regirstering the action with the KeyBindingService.
I know KeyBindingService way is not the preffered way to go ahead.But that code i can not change much.
Below is the error i am getting in the console
COMMANDS >>> execute >>> not enabled: id=org.eclipse.ui.edit.paste; exception=org.eclipse.core.commands.NotEnabledException: Trying to execute the disabled command org.eclipse.ui.edit.paste
Any help would be hugely appreciated.
Thanks and Regards,
Saurav
[Updated on: Wed, 31 March 2010 04:35] by Moderator