|How to implement handler for command in main menu and context menu [message #830402]
||Tue, 27 March 2012 15:24
| Jan Krakora
Registered: December 2009
I have a command and I would like to contribute it to the main menu and also to my editor's context menu.
The command should be enabled when some selection occurs.
The problem is that the editor part provide selection variable while the context menu provide activeMenuSelection variable.
How should I create the appropriate handler(s?) and its activeWhen and enableWhen for that command?
[Updated on: Tue, 27 March 2012 15:25]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01540 seconds