Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to disable/enable a menu based on my expressions?
How to disable/enable a menu based on my expressions? [message #532728] Tue, 11 May 2010 03:28
chenzhp  is currently offline chenzhp Friend
Messages: 1
Registered: May 2010
Junior Member
I want to disable a menu (make the menu gray),so that user can not click the menu.

But the state based on my own expression. like

if(a > 1)
then menu become gray.

Does anyone know how to do this?

Thank you very much.
Previous Topic:[Zest] Next Gen Zest ... where?
Next Topic:PropertySheet Customization
Goto Forum:
  


Current Time: Sat Nov 29 05:37:35 GMT 2014

Powered by FUDForum. Page generated in 0.01467 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software