archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
914 stars 267 forks source link

[Feature Request] Single Key Shortcuts for Palette Tools #985

Closed bkyle closed 3 weeks ago

bkyle commented 8 months ago

It would be nice if there were single key shortcuts that select the tools on the palette. For example, if I want to draw a connection between two elements I would like to be able to just hit the 'c' key (c for magic connection) and then click on the elements to be connected.

Phillipus commented 8 months ago

Sorry, but not possible in the Eclipse GEF framework. See https://github.com/archimatetool/archi/issues/898

bkyle commented 7 months ago

I've created a proof of concept implementation of this feature, see PR #994.

Phillipus commented 7 months ago

I'm opening this up because it's better to discuss here than in #994

Phillipus commented 7 months ago

Summary:

Phillipus commented 3 weeks ago

This will be in the next version. The user will be able to define key bindings for palette entries in Preferences -> Keys in the same way as for any other key binding. It is recommended to use modifier keys for the key bindings (example Ctrl B Ctrl R) so as not to interfere with other aspects of the UI.