Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » key binding in e4 RCP application(Key binding doesn;t work at all in my E4 RCP application)
key binding in e4 RCP application [message #1263889] Tue, 04 March 2014 21:28 Go to next message
Martin Bayer is currently offline Martin BayerFriend
Messages: 32
Registered: December 2012
Member
Hi,
I have a problem with key binding in my E4 RCP application. It looks like it doesn't work at all (I cannot even open liveeditor even if I have it correctly added in my run configuration).
When I try to create new example project with sample content via "Eclipse 4 application project" wizard, all key binding defiinitions are working correctly, so I just do not see something in my project. I already tried to remove all dependencies from plugin.xml and all features dependencies from my product file and add them all again but it didn't help.
Add-ons used in my model are:
contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"
contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"
contributionURI="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"
contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon"
contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.HandlerProcessingAddon"
contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.ContextProcessingAddon"
contributionURI="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"


and my required plugins are:
 org.eclipse.osgi,
 org.eclipse.e4.ui.workbench,
 org.eclipse.e4.core.contexts,
 org.eclipse.e4.core.services,
 org.eclipse.jface,
 org.eclipse.e4.ui.workbench.swt,
 org.eclipse.e4.ui.model.workbench,
 org.eclipse.e4.ui.di,
 org.eclipse.e4.core.di;bundle-version="1.3.0",
 org.eclipse.core.runtime;bundle-version="3.9.100",
 org.eclipse.equinox.p2.core;bundle-version="2.3.0",
 org.eclipse.equinox.p2.engine;bundle-version="2.3.0",
 org.eclipse.equinox.p2.metadata;bundle-version="2.2.0",
 org.eclipse.equinox.p2.operations;bundle-version="2.3.0",
 org.eclipse.equinox.p2.repository;bundle-version="2.3.0",
 org.eclipse.e4.ui.services;bundle-version="1.0.1"

I spent already more then two evenings on it but still cannot figure it out.
Does anyone have any suggestions?

Thank you very much,
Martin

[Updated on: Tue, 04 March 2014 21:30]

Report message to a moderator

Re: key binding in e4 RCP application [message #1264578 is a reply to message #1263889] Wed, 05 March 2014 10:35 Go to previous messageGo to next message
Eclipse UserFriend
I suppose there is nothing in the log, right? Put a breakpoint in BindingProcessingAddon class, defineBindingTables method and see if that's called for any of your defined tables.
Re: key binding in e4 RCP application [message #1267065 is a reply to message #1264578] Sat, 08 March 2014 11:31 Go to previous message
Martin Bayer is currently offline Martin BayerFriend
Messages: 32
Registered: December 2012
Member
Hi,
yeah, unfortunately there are no log records. I tried to debug the method defineBindingTables and binding table with id "cz.martinbayer.e4.analyser.bindingtable.dialogAndWindow" which I created for "org.eclipse.ui.contexts.dialogAndWindow" context is correctly processed.
Thank you very much for this debugging tip bud would you have any other suggestions? Do you need any other information?

Thanks,
Martin
Previous Topic:persist or retain view state
Next Topic:set max item count for PartStack
Goto Forum:
  


Current Time: Fri Apr 26 09:52:38 GMT 2024

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

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

Back to the top