Skip to main content



      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 19:56 Go to next message
Eclipse UserFriend
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 19:56] by Moderator

Re: Eclipse 4 Command with multiple Handlers not working [message #1129054 is a reply to message #1117940] Tue, 08 October 2013 04:39 Go to previous message
Eclipse UserFriend
Commands can have one handler at a time.
Previous Topic:Exploring your E4 context. What is inside ?
Next Topic:"Select All" behaviour in Variables view
Goto Forum:
  


Current Time: Tue Jul 01 15:43:15 EDT 2025

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

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

Back to the top