Summary: | MPerspective should also extends MBindings | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Lars Vogel <Lars.Vogel> |
Component: | UI | Assignee: | Lars Vogel <Lars.Vogel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | jhelming, Lars.Vogel, loskutov, simon.scholz, tom.schindl |
Version: | 4.6 | Keywords: | noteworthy |
Target Milestone: | 4.6 M6 | ||
Hardware: | PC | ||
OS: | Windows NT | ||
See Also: |
https://git.eclipse.org/r/67340 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=9bdf73b60f99fad168d23aa6b712b361462b12b8 |
||
Whiteboard: |
Description
Lars Vogel
2015-11-20 04:39:33 EST
Anyone who disagrees with such a change? Lars, do you mean that e.g. "C++ perspective" should be able to define binding so that user can switch to the perspective, or do you mean you want a new scope for the key bindings? (In reply to Andrey Loskutov from comment #2) > Lars, do you mean that e.g. "C++ perspective" should be able to define > binding so that user can switch to the perspective, or do you mean you want > a new scope for the key bindings? Nether. :-) In e4 RCP you can define keybindings and assign them directly to applications, windows and views / editors. The framework activates them automatically if the window / view etc. is activated. For perspectives (in e4 RCP) this attribute is not available, hence the customer needs to define an event listener which does this work. This feels inconsistent with the rest of the e4 application model. And I have a customer which would like to use this. Suggested change is similar to "Perspective becomes a handler container" from https://www.eclipse.org/eclipse/news/4.6/M2/ +1 Mass move to M6 Gerrit change https://git.eclipse.org/r/67340 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=9bdf73b60f99fad168d23aa6b712b361462b12b8 |