Lets take a look of the following Link.
Commands, Handlers, Menus, Toolbars and Popups
How to create custom commands for my Eclipse RCP 4 application?
-
27-11-2021 - |
Question
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?
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow