Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Keyboard shortcuts for custom actions
Keyboard shortcuts for custom actions [message #495231] Wed, 04 November 2009 09:46 Go to next message
Laura Hernández is currently offline Laura HernándezFriend
Messages: 22
Registered: September 2009
Junior Member
Hi all,

I found some threads with a similar topic, but without a real solution.

I need to add keyboard shortcuts to my copy&paste custom actions, in order to allow the user to copy and paste with Ctrl+C and Ctrl+V

Does somebody tried something similar?

Thanks a lot!
Re: Keyboard shortcuts for custom actions [message #495356 is a reply to message #495231] Wed, 04 November 2009 15:58 Go to previous messageGo to next message
Alex Shatalin is currently offline Alex ShatalinFriend
Messages: 141
Registered: July 2009
Senior Member
Hello laura,

Corresponding actions are provided by org.eclipse.gmf.runtime.diagram.ui.render.providers.DiagramU IRenderGlobalActionHandlerProvider
(registered in generated plugin.xml file), so you can modify/register your
own provider for these actions.

-----------------
Alex Shatalin
Re: Keyboard shortcuts for custom actions [message #495849 is a reply to message #495356] Fri, 06 November 2009 11:54 Go to previous message
Laura Hernández is currently offline Laura HernándezFriend
Messages: 22
Registered: September 2009
Junior Member
Hi Alex,

i solved it adding commands and bindings(keys) like extensions in my plugin.xml

i don't know if it is the same you told me.

Anyway thanks a lot!
Previous Topic:Providing Quick Fix for GMF-Problems
Next Topic:DELETE Event: how can I intercept it?
Goto Forum:
  


Current Time: Tue Sep 24 05:43:41 GMT 2024

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

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

Back to the top