Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » How to add keyboard shortcut for Operation Action
How to add keyboard shortcut for Operation Action [message #1773825] Thu, 05 October 2017 07:26 Go to next message
Marie-Pierre Oudot is currently offline Marie-Pierre OudotFriend
Messages: 3
Registered: May 2011
Junior Member
Hi,

We want to add a keyboard shortcut to an OperationAction contained in a PopupMenu.
Do we have to use the dedicated Eclipse extension point for that ? In that case, how can we access the contextual information (for example the selected node) and call the OperationAction from java code ?

Thanks
Re: How to add keyboard shortcut for Operation Action [message #1773843 is a reply to message #1773825] Thu, 05 October 2017 12:27 Go to previous messageGo to next message
Julien Dupont is currently offline Julien DupontFriend
Messages: 172
Registered: July 2009
Senior Member
Hi Marie-Pierre,

For us it's currently impossible to do that with the Sirius PopupMenu.
The keyboard shortcut are managed by eclipse and there is no solution to add these to the PopupMenu.
You can create a ticket on the bugzillia or do you think your need could be financed?


Regards,

[Updated on: Thu, 05 October 2017 12:53]

Report message to a moderator

Re: How to add keyboard shortcut for Operation Action [message #1780647 is a reply to message #1773825] Thu, 25 January 2018 09:14 Go to previous message
Dmitry Ryzhov is currently offline Dmitry RyzhovFriend
Messages: 2
Registered: January 2018
Junior Member
Hi
These week I've added keyboard shortcuts for all element creation commands in Capella, see topic
polarsys.org/forums/index.php/t/210/

Now I can use keyboard to create elements in the folowing views
- model explorer
- sirius table\trees representations
- sirius diagrams

You can see video demonstration on the link
youtu.be/x5K5lgQdJEw

Does such solution interesting for you?

Regards,
Dmitry
Previous Topic:Supress drag and drop default behavior
Next Topic:Semantic Element of the variable ContainerView
Goto Forum:
  


Current Time: Wed Jan 20 20:11:12 GMT 2021

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

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

Back to the top