I created a menu item in the File menu as a command. There is a handler for this command that implements the IHandler interface. This handler contains the isEnabled method. I try to use this method to enable / disable my menu item, but this method is only called once when I click on the File menu. When you click on the second, third, etc. The isEnabled method is not called again, even if I changed the state of the page (open / close editors) earlier.
What should I do? Maybe this method is not intended for control menu items?
source share