Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » AMP » Keybinding conflicts ALT+SHIFT+L
Keybinding conflicts ALT+SHIFT+L [message #638124] Tue, 09 November 2010 21:02 Go to next message
Oliver Mannion is currently offline Oliver Mannion
Messages: 31
Registered: September 2010
Member
Does anyone else get a Keybinding conflict on ALT+SHIFT+L error when running models?

!ENTRY org.eclipse.jface 2 0 2010-11-10 15:00:33.190
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2010-11-10 15:00:33.190
!MESSAGE A conflict occurred for ALT+SHIFT+L:
Binding(ALT+SHIFT+L,
	ParameterizedCommand(Command(org.eclipse.amp.axf.ui.resume,Resume,
		,
		Category(org.eclipse.amp.axf.ui,Model Execution Engine,Running and Exploring Models,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.amp.axf.activeEditorContext,,,system)
Binding(ALT+SHIFT+L,
	ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.extract.local.variable,Extract Local Variable,
		Extracts an expression into a new local variable and uses the new local variable,
		Category(org.eclipse.jdt.ui.category.refactoring,Refactor - Java,Java Refactoring Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,,system)
Re: Keybinding conflicts ALT+SHIFT+L [message #639584 is a reply to message #638124] Tue, 16 November 2010 21:56 Go to previous messageGo to next message
Miles Parker is currently offline Miles Parker
Messages: 1266
Registered: July 2009
Senior Member
Hmm..that binding should be option-cmd-L on Mac which should map to alt-ctrl I think on Windows. Check your key preferences. I do see that JDT unfortunately applies it's command to all Windows instead of just Java Source. I odn't know why that is. If this seems like a real conflict let me know and we'll change it or even get rid of it. In retrospect I don't see really see that that the key-binding is all that useful -- most people will just click on the toolbar button or whatever.

Oliver Mannion wrote on Tue, 09 November 2010 21:02
Does anyone else get a Keybinding conflict on ALT+SHIFT+L error when running models?

!ENTRY org.eclipse.jface 2 0 2010-11-10 15:00:33.190
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2010-11-10 15:00:33.190
!MESSAGE A conflict occurred for ALT+SHIFT+L:
Binding(ALT+SHIFT+L,
	ParameterizedCommand(Command(org.eclipse.amp.axf.ui.resume,Resume,
		,
		Category(org.eclipse.amp.axf.ui,Model Execution Engine,Running and Exploring Models,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.amp.axf.activeEditorContext,,,system)
Binding(ALT+SHIFT+L,
	ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.extract.local.variable,Extract Local Variable,
		Extracts an expression into a new local variable and uses the new local variable,
		Category(org.eclipse.jdt.ui.category.refactoring,Refactor - Java,Java Refactoring Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,,system)


Re: Keybinding conflicts ALT+SHIFT+L [message #639828 is a reply to message #639584] Wed, 17 November 2010 19:37 Go to previous messageGo to next message
Oliver Mannion is currently offline Oliver Mannion
Messages: 31
Registered: September 2010
Member
In Preferences - General - Keys I've got

Extract Local Variable - Alt+Shift+L - In Windows - Refactor - Java
Resume - Alt+Shift+L - Model View - Refactor - Java

Although I do use the toolbar button more than the key binding it does seem like a real conflict, and its more the warning message than appears in the Error View/OSGI console that is the (small) annoyance Smile If possible to change/remove that would be cool.
Re: Keybinding conflicts ALT+SHIFT+L [message #640038 is a reply to message #639828] Thu, 18 November 2010 13:46 Go to previous message
Miles Parker is currently offline Miles Parker
Messages: 1266
Registered: July 2009
Senior Member
Oliver Mannion wrote on Wed, 17 November 2010 19:37
In Preferences - General - Keys I've got

Extract Local Variable - Alt+Shift+L - In Windows - Refactor - Java
Resume - Alt+Shift+L - Model View - Refactor - Java

Although I do use the toolbar button more than the key binding it does seem like a real conflict, and its more the warning message than appears in the Error View/OSGI console that is the (small) annoyance Smile If possible to change/remove that would be cool.


Yeah, I think the problem is that the Java refactoring key0-binding is too greedy. There is no reason for it to be active in every window context. You aren't going to need to extract local variable from a window file! Perhaps we should file a bug against JDT. Smile Or if you have an idea for a better key-combo please do a feature request.

cheers,

Miles
Previous Topic:Running models standalone
Next Topic:Project plan updated.
Goto Forum:
  


Current Time: Tue May 28 07:45:47 EDT 2013

Powered by FUDForum. Page generated in 0.01528 seconds