|keybindings and bindingcontext [message #1067242]
||Mon, 08 July 2013 01:01
| Kendall Shaw
Registered: July 2013
I am following an eclipse 4 rcp tutorial here:|
It says keybindings can be made by associating a bindingcontext with a part and a binding table. It also says that JFace uses predefined bindingcontext identifiers.
Then there is a picture of a bindingcontext and 2 child bindingcontexts.
Looking at e4 example code, I see this same hierarchy of bindingcontexts with the predefined ids.
There is a gap in my understanding. It seems clear to me the idea of a binding table containing key bindings related to a bindingcontext which is referred to by a part. And, there is the functionality where keybindings invoke commands. What is between those two things?
How is the hierarchy and the functionality related? If they are dialogAndWindow, dialogs and windows. Why are 3 required? Why not just dialogAndWindow?
If the id were not one of the predefined ids, what would it mean? What interprets the id?
Powered by FUDForum
. Page generated in 0.05567 seconds