Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » keybindings and bindingcontext(what is it?)
keybindings and bindingcontext [message #1067242] Mon, 08 July 2013 01:01
Kendall Shaw is currently offline Kendall ShawFriend
Messages: 12
Registered: July 2013
Junior Member
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?
Previous Topic:about Quick Access unvisible
Next Topic:Problems with contributing a perspective via fragment
Goto Forum:

Current Time: Sat Feb 29 07:44:14 GMT 2020

Powered by FUDForum. Page generated in 0.02033 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top