Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Binding conflicts
Binding conflicts [message #673329] Mon, 23 May 2011 09:20 Go to next message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
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 14:05 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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 Apr 19 20:43:12 GMT 2024

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

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

Back to the top