| Summary: | [Table][Tree] Support keyboard shortcut CTRL+A to select all items | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Sebastian Habenicht <dev> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | georg.breitschopf |
| Version: | 3.11 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Sebastian Habenicht
Does it work with key lestener attached and ACTIVE/CANCEL_KEY set on the table with current RAP version? (In reply to Ivan Furnadjiev from comment #1) > Does it work with key lestener attached and ACTIVE/CANCEL_KEY set on the > table with current RAP version? Do you mean implementing the functionality in an own key listener? Yes, that works, setting ACTIVE/CANCEL_KEY to the table is not required in this case. I opened this request because it comes out of the box with SWT and hence should also be OOTB for RWT, shouldn't it? Just realized that CTRL+A does not work in a standalone SWT snippet, only within an RCP application. So to be correct, the requirement is actually to implement it in RAP, not in RWT (tested in RAP hello world application and it does not work there while it works in the RCP hello world application). That's probably because RCP (Workbench) defines key-binding for CTRL+A, which is disabled in RAP [1] because of conflicts with native Text (HTML input) behaviour. That's why I suggested to implement it in your app code by setting ACTIVE/CANCEL_KEY on the table. Will close this issue now. Please reopen if you disagree. [1] https://github.com/eclipse/rap/blob/master/bundles/org.eclipse.rap.ui/plugin.xml#L214 Thanks for the info, that was my guess, too, after I tested the SWT standalone snippet. Closing the issue is fine by me. |