keyboard context menu

Now that i woke up and realise i should probably offer keyboard support to my app -_-, I’m trying to see how i could open the context menu of a tree leaf (which i couldn’t find how), so i’m asking if anyone knows.

A fair question, but I think such command is rarely needed by people who use the keyboard to control the app. Use keyboard shortcuts instead, if possible. If the context menu items are not static/depend on the selected item, then there might be a problem.

I couldn’t find a way to open the a context menu using the keyboard on Mac OS X, but if I recall correctly there’s a dedicated button on most Windows keyboards for that purpose (next to Alt?).

Anyway, such an option (opening the context menu programmatically or with a specific key) wouldn’t hurt.

In the mean time i realised a tree is not exactly right for my use case, so i might skip the need.
Did a little research. Seems people that do use keyboard to simulare right-click for context menu push SHIFT+F10 (on selection) - but it’s not relative to Vaadin, but the containing client area, such as desktop or the browser’s client area or something else, depending on what’s selected.

A way to open an icon properties is ALT+ENTER (if selected).

I’m on a laptop keyboard, no such key i could see.


I’ll look into keyboard shortcuts when the need arises.
Thank you.


http://demo.vaadin.com/sampler/#ShortcutBasics