Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Ctrl doesn't work defining an keyschema
Ctrl doesn't work defining an keyschema [message #337055] Fri, 24 July 2009 22:59 Go to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi,

Two examples from my plugin.xml.....

the first one works fine, the second with the M1(Ctrl) doesn't work at
all.
I tried it also with Alt, this works fine, too.

What's wrong with my example - or is this an bug in eclipse???????

<key sequence="M3+K" commandId="org.eclipse.ui.newWizard"
schemeId="xxx.keys.idea.id">
<parameter id="newWizardId"
value="org.eclipse.jdt.ui.wizards.NewClassCreationWizard"/ >
</key>

<key commandId="org.eclipse.jdt.ui.navigate.open.type"
schemeId="vsa.keys.idea.id" sequence="M1+N"/>

Greetings
Markus
Re: Ctrl doesn't work defining an keyschema [message #337056 is a reply to message #337055] Sat, 25 July 2009 06:56 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Hi,
this key might already be used. Please see
http://www.vogella.de/articles/EclipseCommands/article.html# keybinding
to see how to define your own keybinding schema.

Best regards, Lars

Markus Oley wrote:
> Hi,
> Two examples from my plugin.xml.....
> the first one works fine, the second with the M1(Ctrl) doesn't work at
> all. I tried it also with Alt, this works fine, too.
> What's wrong with my example - or is this an bug in eclipse???????
>
> <key sequence="M3+K" commandId="org.eclipse.ui.newWizard"
> schemeId="xxx.keys.idea.id">
> <parameter id="newWizardId"
> value="org.eclipse.jdt.ui.wizards.NewClassCreationWizard"/ >
> </key>
>
> <key commandId="org.eclipse.jdt.ui.navigate.open.type"
> schemeId="vsa.keys.idea.id" sequence="M1+N"/>
>
> Greetings
> Markus
>
>




--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
Re: Ctrl doesn't work defining an keyschema [message #337058 is a reply to message #337056] Sat, 25 July 2009 08:49 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi Lars,

Thank you for your fast answer and your link....
I want to define an keyscheme to simulate Intellij-Keymap.
So I downloaded an older plugin from net, which does this things and
wanted to edit this.

My key-binding-sheme doesn't inherit another scheme, I didn't define a
parentID.
Can it also be, that this key is defined already?
When I press the Ctrl+N nothing happens ;-(((.
Also in the keybindings-preference-page there's nothing found when I
search for this shortcut. None of my shortcuts that start with Ctrl are
found...

I use openSuSE 11.0 32bit..... , my LANG is set to de_DE@ISO-8859-15.


Best Regards
Markus
Re: Ctrl doesn't work defining an keyschema [message #337065 is a reply to message #337058] Sat, 25 July 2009 21:01 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Hi Markus,

I believe if you using -consoleLog you should see if their is a conflict
in the keybindings. Or you can turn the tracing for keybindings as
described here:
http://www.vogella.de/articles/EclipseCodeAccess/article.htm l#keybindings

Best regards, Lars

Markus Oley wrote:
> Hi Lars,
> Thank you for your fast answer and your link....
> I want to define an keyscheme to simulate Intellij-Keymap. So I
> downloaded an older plugin from net, which does this things and wanted
> to edit this.
> My key-binding-sheme doesn't inherit another scheme, I didn't define a
> parentID. Can it also be, that this key is defined already? When I press
> the Ctrl+N nothing happens ;-(((. Also in the
> keybindings-preference-page there's nothing found when I search for this
> shortcut. None of my shortcuts that start with Ctrl are found...
>
> I use openSuSE 11.0 32bit..... , my LANG is set to de_DE@ISO-8859-15.
>
> Best Regards
> Markus
>
>
>




--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
Re: Ctrl doesn't work defining an keyschema [message #337067 is a reply to message #337058] Sat, 25 July 2009 21:46 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
one more hint....

if I define this shortcut with the keys-preferencedialog in
default-Scheme, it works
Re: Ctrl doesn't work defining an keyschema [message #337077 is a reply to message #337065] Sun, 26 July 2009 21:23 Go to previous message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi Lars,

thank you for your greatful help. It was not this Keybinding that caused
an conflict. It was Ctrl+X, Alt+X from Multiclipboard plugin :-((

I disabled this plugin and now my keybindings work.

Just one thing:
When I change my keybinding-scheme in properties dialog the whole
shortcuts from the new scheme, were I change to, disappear. I have to
click Restore defaults to see them again.
Is this a bug?

Greeting, Markus
Previous Topic:Eclipse Modeling 64bit for Mac
Next Topic:extending CompareEditor
Goto Forum:
  


Current Time: Wed Apr 24 16:09:33 GMT 2024

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

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

Back to the top