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 offline K KumarFriend
Messages: 18
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:Exploring your E4 context. What is inside ?
Next Topic:extension org.eclipse.ui.intro in E4
Goto Forum:
  


Current Time: Fri Nov 28 11:33:03 GMT 2014

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

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