Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » context menu selection /Table Viewer
context menu selection /Table Viewer [message #559119] Wed, 15 September 2010 12:30 Go to next message
Eclipse UserFriend
HI all

I have table viewer i want menu option in context menu or view toolbar to be enabled only when user has selected row in the table else menu option has to disabled when user has not selected any row.

can any one how to implent this ...

Thanks
Ashok
Re: context menu selection /Table Viewer [message #559133 is a reply to message #559119] Wed, 15 September 2010 13:16 Go to previous messageGo to next message
Eclipse UserFriend
ashok_kumar_rr@yahoo.com wrote:
> HI all
>
> I have table viewer i want menu option in context menu or view
> toolbar to be enabled only when user has selected row in the table else
> menu option has to disabled when user has not selected any row.

See
http://www.eclipse.org/articles/article.php?file=Article-act ion-contribution/index.html

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm
Re: context menu selection /Table Viewer [message #629264 is a reply to message #559119] Mon, 27 September 2010 11:56 Go to previous message
Eclipse UserFriend
THe command button is is editor contribution.
Previous Topic:add help.
Next Topic:Serializing references to resources (files) in workspace
Goto Forum:
  


Current Time: Sat Jul 05 09:42:48 EDT 2025

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

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

Back to the top