Thanks! That's exactly what I was looking for. I added a few things.
I added 2 methods to the HasCommandHandlers interface:
- void setHandlerEnabled(boolean isEnabled);
- boolean isHandlerEnabled();
This way, my presenter can disable MenuItems using:
Hi,
This message was supposed to be an answer to the Menu Item and MVP
discussion. But it does not appear, I probably made a mistake, so I
put it here in a new discussion.
The initial message posted by mic was :
Just sharing some thoughts
Would the MenuItem class need to implement