I'm writing an e4 application and I'm trying to create a custom command but the documentation is somehow lacking details. I have a toolbar with a check button on it and what I want to achieve is to have a command which has a boolean parameter which tells my handler whether the check button is checked or not.

I tried the visual model editor but I can only hard code parameters there. Do I have to implement the MCommand interface or there is some simpler solution? Can you point me in the right direction?

有帮助吗?

解决方案

Lets take a look of the following Link.
Commands, Handlers, Menus, Toolbars and Popups

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top