Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow to add readonly textbox in table Viewer.
https://www.eclipse.org/forums/index.php/mv/msg/851880/1467817/#msg_1467817
For TableViewer some Help Needed:
1. User want to select the text in tables cell and copy it (Like in text box). So my question is how to add readonly textbox in table viewer.
2. Is it possible to add double click listener for some specific cell in Table Viewer.
Thanks,
Sumit]]>Sumit Singh2014-11-10T10:32:26-00:00Re: How to add readonly textbox in table Viewer.
https://www.eclipse.org/forums/index.php/mv/msg/851880/1476722/#msg_1476722
1. You can add an EditingSupport, and make sure you are not changing the value by simply return from setValue() method. I think that will work.
2. Yeah, that would be great but no.) Otherwise, you can add a double click listener for the table and in a handleEvent method decide if it's a cell you are looking for.]]>Demian Tols2014-11-17T09:44:54-00:00