Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Key binding conflict with "Undefined Command"
Key binding conflict with "Undefined Command" [message #537172] Tue, 01 June 2010 14:40 Go to next message
Thomas Wiedmann is currently offline Thomas WiedmannFriend
Messages: 69
Registered: July 2009
Member
Hello,

trying to assign the key 'Alt-Shift+Y' to the command 'Synchronize with
Repository' when 'In Windows' in Eclipse 3.5.1 on
'Window/Preferences/General/Keys', right below a conflict is indicated with
'Undefined Command' when 'In Windows'. Sorting the table above by the
bindings no other command appears beside 'Synchronize with Repository' when
'In Windows' assigned with 'Alt-Shift+Y'.

What's the reason for this strange behaviour?
Bug or feature?
How to resolve the problem, i. e. how can the shortcut 'Alt-Shift+Y' be
assigned to 'Synchronize with Repository' when 'In Windows'?

Thomas Wiedmann
Re: Key binding conflict with "Undefined Command" [message #537459 is a reply to message #537172] Wed, 02 June 2010 13:44 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
On 01/06/10 8:10 PM, Thomas Wiedmann wrote:
> Hello,
>
> trying to assign the key 'Alt-Shift+Y' to the command 'Synchronize with
> Repository' when 'In Windows' in Eclipse 3.5.1 on
> 'Window/Preferences/General/Keys', right below a conflict is indicated
> with 'Undefined Command' when 'In Windows'. Sorting the table above by
> the bindings no other command appears beside 'Synchronize with
> Repository' when 'In Windows' assigned with 'Alt-Shift+Y'.

The "undefined command" might be filtered. Click the Filters... button
in the preference page and uncheck all the filters.

--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Re: Key binding conflict with "Undefined Command" [message #538247 is a reply to message #537459] Mon, 07 June 2010 06:08 Go to previous messageGo to next message
Thomas Wiedmann is currently offline Thomas WiedmannFriend
Messages: 69
Registered: July 2009
Member
> The "undefined command" might be filtered. Click the Filters... button in
> the preference page and uncheck all the filters.

The problem is, that the key 'Alt-Shift+Y' doesn't trigger the command
'Synchronize with
Repository' possible due to this conflict with the 'undefined command'.
Indicating "undefined command" at the conflicts must have a reason, I
assume, but which?

Thomas Wiedmann
Re: Key binding conflict with "Undefined Command" [message #538328 is a reply to message #538247] Mon, 07 June 2010 11:36 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
On 07/06/10 11:38 AM, Thomas Wiedmann wrote:
>> The "undefined command" might be filtered. Click the Filters... button
>> in the preference page and uncheck all the filters.
>
> The problem is, that the key 'Alt-Shift+Y' doesn't trigger the command
> 'Synchronize with
> Repository' possible due to this conflict with the 'undefined command'.
> Indicating "undefined command" at the conflicts must have a reason, I
> assume, but which?
>
> Thomas Wiedmann

If you can't find it even after removing all the filters. Try the
tracing option:
http://wiki.eclipse.org/Platform_Command_Framework#Tracing_O ption to see
whats going on

- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Re: Key binding conflict with "Undefined Command" [message #539520 is a reply to message #538328] Fri, 11 June 2010 07:46 Go to previous message
Thomas Wiedmann is currently offline Thomas WiedmannFriend
Messages: 69
Registered: July 2009
Member
>>> The "undefined command" might be filtered. Click the Filters... button
>>> in the preference page and uncheck all the filters.

After removing all filters a conflict was indicated with
'Undefined Command' When 'In Windows' in 'Unavailable Category'.
After unbinding the shortcut from 'Undefined Command' the key binding worked
with 'Synchronize with Repository' of SVN.

Ok, problem resolved, but anyway 'Undefined Command' looks somewhat strange:
What is that?
Where comes it from?

Just for info: After trying the debug option as described in your link,
attached, I've got the following entry (before removing the key binding from
'Undefined command':

BINDINGS >>> Cache miss
BINDINGS >>> There are 13 deletion markers
BINDINGS >>> A conflict occurred for ALT+SHIFT+Y
BINDINGS >>> [Binding(ALT+SHIFT+Y,
ParameterizedCommand(Command(org.eclipse.team.svn.ui.command .SynchronizeCommand,Synchronize
with Repository,
,
Category(org.eclipse.team.svn.ui.command.category,SVN,null,t rue),
ActionDelegateHandlerProxy(null,org.eclipse.team.svn.ui.acti on.local.SynchronizeAction),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,user), Binding(ALT+SHIFT+Y,
ParameterizedCommand(Command(org.tigris.subversion.subclipse .ui.synchronize,,
,
,
,
,,false),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,user)]

By the way: The log output wasn't redirected to the logfile, specified with
'>debug.log 2>&1'. (I work with Windows XP). The logfile was created and
remained empty. The log was put out on the console only.


Thomas Wiedmann
Previous Topic:SelectionProviderAdaptor is not visible
Next Topic:problem exporting a plugin
Goto Forum:
  


Current Time: Wed Apr 24 17:55:23 GMT 2024

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

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

Back to the top