Skip to main content


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 17:44
ash is currently offline ashFriend
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: Sat Apr 20 13:49:03 GMT 2024

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

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

Back to the top