Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Ctrl+S not supported in RCP
Ctrl+S not supported in RCP [message #440627] Mon, 05 December 2005 14:14 Go to next message
Eclipse UserFriend
Originally posted by: bdberry.us.ibm.com

How do I enable Ctrl+S for my editor? I can see the File>Save menu
option, but it seems that the key binding does not work. I am using
Eclipse 3.1.1
Re: Ctrl+S not supported in RCP [message #440710 is a reply to message #440627] Tue, 06 December 2005 07:57 Go to previous message
Reinhard Moser is currently offline Reinhard MoserFriend
Messages: 43
Registered: July 2009
Member
Hi Brian,

to enable Ctrl+S for your editor you have to register the Save-action
in the ActionBarAdvisor implementation like this:

IWorkbenchWindow workbenchWindow = this.getActionBarConfigurer()
.getWindowConfigurer().getWindow();
fWorkbenchActionSave = ActionFactory.SAVE.create( workbenchWindow );
this.register( fWorkbenchActionSave);

hope this helps

regards

Reinhard

Brian Berry schrieb:
> How do I enable Ctrl+S for my editor? I can see the File>Save menu
> option, but it seems that the key binding does not work. I am using
> Eclipse 3.1.1
Previous Topic:Coloring the MenuBar items
Next Topic:classpath problem: using birt within rcp
Goto Forum:
  


Current Time: Fri Apr 19 19:37:03 GMT 2024

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

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

Back to the top