Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » org.eclipse.core.expressions.definitions problem
org.eclipse.core.expressions.definitions problem [message #633421] Sun, 17 October 2010 13:44
ash is currently offline ash
Messages: 142
Registered: July 2010
Senior Member
Hi all,

i want some context menu option to be visble when any row in table is selected . and removed when no row are selected. as per expersion this its working fine.

But
if i use same expresion used for view menu/applcation main menu to enable/disable menu option... the menu option are not enabling /disabling it will in disable mode only

can any 1 tell wht might be the wrong.


<extension
point="org.eclipse.core.expressions.definitions">
<definition
id="oneElementSelected">
<with
variable="activeMenuSelection">
<count
value="1">
</count>
</with>
</definition>
</extension>


<handler
class="com.xxxxx.ui.command.EditCmdHandler"
commandId="com.xxxxt.edit.mgr">
<enabledWhen>
<reference
definitionId="oneElementSelected">
</reference>
</enabledWhen>
</handler>

thanks
ashok
Previous Topic:riena security
Next Topic:Tree Table help
Goto Forum:
  


Current Time: Thu Aug 28 03:30:29 EDT 2014

Powered by FUDForum. Page generated in 0.01481 seconds