|Delete key does not work in TreeViewer [message #1108171]
||Fri, 13 September 2013 12:48
| Sabari M
Registered: June 2013
I have a tree viewer in my eclipse rcp application in which I have multiple nodes and sub nodes. When I try to delete a child node using the key 'Delete' in keyboard, nothing happens but it works fine if I right click the required node and then delete it. |
I tried to debug this issue and found that the following code in HandlerServiceImpl.executeHandler(ParameterizedCommand command, IEclipseContext staticContext) is causing the issue.
Object rc = ContextInjectionFactory.invoke(handler, CanExecute.class, executionContext,
Object rc is being assigned the boolean value 'false' and hence it is returning null which prevents the action class from being called. I'm using Eclipse 4.2.2 and recently migrated my application from Eclipse 3.6.x to 4.2.2. This was working fine before the upgrade.
Any help would be greatly appreciated.
Powered by FUDForum
. Page generated in 0.08988 seconds