Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Common Naviagtor (CommonNavigator) key bindings
Common Naviagtor (CommonNavigator) key bindings [message #464086] Fri, 23 February 2007 15:08 Go to next message
Eclipse UserFriend
Originally posted by: eljefeboss.hotmail.com

In my RCP app, I use the org.eclipse.core.resources plugin for the workspace, and the
CommonNavigator as the viewer. Working with the CommonNavigator, I've been
successful creating my own context menus with IObjectActionDelegates..

Now I am trying to enable the key bindings for default retargetable actions from the
Navigator's default resource context menu. To clarify, if I right-click a resource
and select Delete, the resource is deleted. But, hitting the delete key has no
effect, even though the key name (Delete) does show on the context menu.

Rather than describing every approach I've tried, I thought I'd just ask..

What do I need to do to enable key bindings for these default actions, without
actually implementing the Action handler?

Many thanks..
Re: Common Naviagtor (CommonNavigator) key bindings [message #464092 is a reply to message #464086] Fri, 23 February 2007 15:57 Go to previous message
Eclipse UserFriend
Originally posted by: eljefeboss.hotmail.com

Silly me.. I guess all I needed to do was to register the Action in my ActionBarAdvisor..

deleteAction = ActionFactory.DELETE.create(window);
register(deleteAction);


Gearhart wrote:
> In my RCP app, I use the org.eclipse.core.resources plugin for the
> workspace, and the CommonNavigator as the viewer. Working with the
> CommonNavigator, I've been successful creating my own context menus with
> IObjectActionDelegates..
>
> Now I am trying to enable the key bindings for default retargetable
> actions from the Navigator's default resource context menu. To clarify,
> if I right-click a resource and select Delete, the resource is deleted.
> But, hitting the delete key has no effect, even though the key name
> (Delete) does show on the context menu.
>
> Rather than describing every approach I've tried, I thought I'd just ask..
>
> What do I need to do to enable key bindings for these default actions,
> without actually implementing the Action handler?
>
> Many thanks..
Previous Topic:Regarding updating of my RCP about text
Next Topic:Opening preferences in a tab
Goto Forum:
  


Current Time: Tue Apr 15 02:40:01 EDT 2025

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

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

Back to the top