Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Binding conflicts
Binding conflicts [message #673329] Mon, 23 May 2011 05:20 Go to next message
Eclipse UserFriend
I wonder why a conflict exists when two keybindings are possible.

One of the has an active handler, whereas the other one doesn't.

Couldn't Eclipse be more intelligent and simply ignore the command withoun any active handler?

This is just a suggestion.

If I don't create context, it is very easy to have conflicts with other unused commands, some of the predefined in the workbench.

David

Re: Binding conflicts [message #673704 is a reply to message #673329] Tue, 24 May 2011 10:05 Go to previous message
Eclipse UserFriend
keybindings are more stable then whether the specific command handler is 1) handled or 2) enabled. CTRL+C is always copy (well, almost always Smile If you try and set CTRL+C to Exit, that's a bad deal, and since the consequences are dire we report binding conflicts eagerly.

That being said, in an RCP app you can either add to the main window context, create your own off of that context and activate it from your app, or create your own scheme that contains only your bindings (and then you have complete control over what is in there).

PW
Previous Topic:Command contributions
Next Topic:Getting Linux path on Windows
Goto Forum:
  


Current Time: Fri Jul 04 18:51:02 EDT 2025

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

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

Back to the top