| Disabling a menu button not working [message #664256] |
Fri, 08 April 2011 02:12  |
AppleJus Mising name Messages: 46 Registered: July 2010 |
Member |
|
|
Hello again,
I can disable a direct tool menuitem using:
EModelService uielementService = context.get(EModelService.class);
MDirectToolItem Button = (MDirectToolItem) uielementService.find("eID", application);
Button.setEnabled(false);
I was trying to do the same for a corresponding button in the menu , a MDirectMenuItem, but it does not work..
Help would be really appreciated! Thanks!
|
|
|
|
Powered by
FUDForum. Page generated in 0.02015 seconds