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] Mon, 10 May 2010 23:28
chenzhp  is currently offline chenzhp
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 Apr 19 13:25:56 EDT 2014

Powered by FUDForum. Page generated in 0.02171 seconds