Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Eclipse 4 Command with multiple Handlers not working
Eclipse 4 Command with multiple Handlers not working [message #1117940] Thu, 26 September 2013 23:56 Go to next message
K Kumar is currently online K KumarFriend
Messages: 29
Registered: March 2011
Junior Member
We have defined a command and defined two handlers. Each handlers have @CanExecute annotation and is defined to evaluate such that only one of it returns true at anytime.

When both of these handlers are defined, only the last (in the handlers list) is executed and the other one is not activated anytime. Its @CanExecute method is never called.

Each of these handlers works fine when it is just handler for that command. Any idea why this behavior?

Thank you.

[Updated on: Thu, 26 September 2013 23:56]

Report message to a moderator

Re: Eclipse 4 Command with multiple Handlers not working [message #1129054 is a reply to message #1117940] Tue, 08 October 2013 08:39 Go to previous message
Sopot Cela is currently offline Sopot CelaFriend
Messages: 597
Registered: December 2010
Senior Member

Commands can have one handler at a time.
Previous Topic:e4 compat layer and standalone views.
Next Topic:Calling Command from Code in Kepler (4.3)
Goto Forum:

Current Time: Wed Feb 21 17:35:51 GMT 2018

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

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