|More than one Handler for a command [message #632622]
||Wed, 13 October 2010 15:46
Registered: September 2010
is it possible to register more than one handler for an existing command?
What I am trying to do is to add a double click command for a table viewer that behaves differently depending on the active perspective.
So, what I did was to create a command with no default handler, and two handlers with the enableWhen properties set.
When I run it with only one handler it works the way I expect it, but when I add the second handler with a different perspective restriction the call to command.isEnabled() returns false.
Powered by FUDForum
. Page generated in 0.03206 seconds