| Summary: | Please make KeyHandler call runWithEvent() on registered actions instead of run(). | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Thomas Maier <Thomas.Maier> |
| Component: | GEF-Legacy GEF (MVC) | Assignee: | gef-inbox <gef-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | nyssen, Thomas.Maier |
| Version: | 3.1.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Thomas Maier
Unfortunately, KeyHandler does not have access to the triggering untyped SWT events when processing typed KeyEvents. As such, all we could do (without changing the API) is to construct a new untyped SWT event locally (from the information contained within KeyEvent) and pass this into runWithEvent(). However, I think this would not seem to be appropriate, as IAction#runWithEvent() seems to expect the triggering SWT event itself (and not a copy). As such, resolving as WONTFIX. |