Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [RCP] Ctrl+S for Save not working
[RCP] Ctrl+S for Save not working [message #250483] Tue, 08 June 2004 13:55 Go to next message
David Graham is currently offline David GrahamFriend
Messages: 17
Registered: July 2009
Junior Member
In my RCP app's WorkbenchAdvisor subclass I add the Save menu item like
this:
menu.add(ActionFactory.SAVE.create(window));

So I get a Save menu item with a disk icon next to it and a displayed
shortcut of Ctrl+S. The menu item enables and disables properly when
editors are dirtied and saves the editor when you select it with the mouse.

However, pressing Ctrl+S does not run the save action. How can I get
the shortcut to work?

I'm using 3.0 RC1.

Thanks,
David
Re: [RCP] Ctrl+S for Save not working [message #252444 is a reply to message #250483] Mon, 14 June 2004 19:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: douglas.pollock.magma.ca

David Graham wrote:
> However, pressing Ctrl+S does not run the save action. How can I get
> the shortcut to work?

Could you running with some debugging options, and then open a bug
describing the problem in detail (preferrably with sample code showing the
problem)?

You would need to create a file some on disk called "options". In it put
the following 4 lines:

org.eclipse.ui/debug=true
org.eclipse.ui/trace/contexts=true
org.eclipse.ui/trace/keyBindings=true
org.eclipse.ui/trace/keyBindings.verbose=true

Then, open a command prompt and run Eclipse. Start Eclipse with the
following additional parameter:

-debug C:\path\to\options

Then recreate the problem (preferrably without pressing any keys except for
the "Ctrl+S"). Include the output from the command prompt.




thanks,
d.
Re: [RCP] Ctrl+S for Save not working [message #252500 is a reply to message #252444] Mon, 14 June 2004 21:40 Go to previous message
David Graham is currently offline David GrahamFriend
Messages: 17
Registered: July 2009
Junior Member
Thanks for the tracing suggestion. I logged it as
https://bugs.eclipse.org/bugs/show_bug.cgi?id=67143

David


Douglas Pollock wrote:

> David Graham wrote:
>
>>However, pressing Ctrl+S does not run the save action. How can I get
>>the shortcut to work?
>
>
> Could you running with some debugging options, and then open a bug
> describing the problem in detail (preferrably with sample code showing the
> problem)?
>
> You would need to create a file some on disk called "options". In it put
> the following 4 lines:
>
> org.eclipse.ui/debug=true
> org.eclipse.ui/trace/contexts=true
> org.eclipse.ui/trace/keyBindings=true
> org.eclipse.ui/trace/keyBindings.verbose=true
>
> Then, open a command prompt and run Eclipse. Start Eclipse with the
> following additional parameter:
>
> -debug C:\path\to\options
>
> Then recreate the problem (preferrably without pressing any keys except for
> the "Ctrl+S"). Include the output from the command prompt.
>
>
>
>
> thanks,
> d.
Previous Topic:Support for WorkbenchHelp.sethelp() for Texteditor and popupMenus
Next Topic:Synchronizing Ant tasks within Eclipse 3.0
Goto Forum:
  


Current Time: Sat Jul 27 16:35:34 GMT 2024

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

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

Back to the top