Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » KeyBindings (KeyBindings doesn't work and doesn't appear)
KeyBindings [message #1300521] Thu, 17 April 2014 16:40 Go to next message
tina shad is currently offline tina shad
Messages: 1
Registered: April 2014
Junior Member
Hi,

I have everything done in my application.e4xml file as it is instructed in tutarial but I can not see any keybindings like ctr+O in my menulist or non of them work. I work on windows if it matters.

Here is my binding table:

<bindingTables xmi:id="_UZrhoAQmEeO94JX2ayNhFg" elementId="arttest.bindingtable.keybindings" bindingContext="_BKUw0AQmEeO94JX2ayNhFg">
<bindings xmi:id="_ZIzjMAQmEeO94JX2ayNhFg" elementId="arttest.keybinding.exit" keySequence="M3+Q" command="_yDltIAQjEeO94JX2ayNhFg"/>
<bindings xmi:id="_kZJvQA5cEeOO2J_R1ovPJA" elementId="arttest.keybinding.open" keySequence="M1+O" command="_q73c4A4xEeO0eN106BXeZw"/>
<bindings xmi:id="_nmdYwA5cEeOO2J_R1ovPJA" elementId="arttest.keybinding.save" keySequence="M1+S" command="_k7vSMA5MEeO0eN106BXeZw"/>
<bindings xmi:id="_vYcuYA5cEeOO2J_R1ovPJA" elementId="arttest.keybinding.matlab.start" keySequence="M1+M3+M" command="_jYfAEAQiEeO94JX2ayNhFg"/>
<bindings xmi:id="_0Gz68A5cEeOO2J_R1ovPJA" elementId="arttest.keybinding.matlab.run" keySequence="M1+M3+R" command="_-U8akAjEEeObB-RtlMC9OQ"/>
<bindings xmi:id="_gIQ6IA5iEeOO2J_R1ovPJA" elementId="arttest.keybinding.preferences" keySequence="M3+P" command="_oM04cAZJEeOiLcL7KiH8Ow"/>
<bindings xmi:id="_8tZukA5iEeOO2J_R1ovPJA" elementId="arttest.keybinding.save" keySequence="M1+M3+S" command="_txCvsA4wEeO0eN106BXeZw"/>
<bindings xmi:id="_XDa4sA5mEeOO2J_R1ovPJA" elementId="arttest.keybinding.matlab.build" keySequence="M1+M3+B" command="_pv2YEA5lEeOO2J_R1ovPJA"/>
<bindings xmi:id="_UWFT8A-_EeOYNefK2klCrQ" elementId="arttest.keybinding.matlab.openModel" keySequence="M1+M3+O" command="_wPcH0A-8EeOYNefK2klCrQ"/>
</bindingTables>
Re: KeyBindings [message #1313360 is a reply to message #1300521] Thu, 24 April 2014 21:20 Go to previous message
Wim Jongman is currently offline Wim Jongman
Messages: 280
Registered: July 2009
Senior Member

Hi,

Did you add the default binding contexts?

<rootContext xmi:id="_rxdyyMlrEeOCQfctBaAOiA" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
<children xmi:id="_rxdyyclrEeOCQfctBaAOiA" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
<children xmi:id="_rxdyyslrEeOCQfctBaAOiA" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
</rootContext>

Did you add the commands to the menu?

Cheers,

Wim
Previous Topic:TextElement foreground color = background color
Next Topic:Kepler RCP Export wraps Program Launching Arguments
Goto Forum:
  


Current Time: Thu Oct 23 00:02:18 GMT 2014

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

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