Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How can i place arbitrary controls in a table managed with a tableviewer ?
How can i place arbitrary controls in a table managed with a tableviewer ? [message #447404] Tue, 14 December 2004 10:29 Go to next message
Yves Harms is currently offline Yves HarmsFriend
Messages: 80
Registered: July 2009
Member
How can I place arbitrary controls in table managed by a tableviewer ?
Celleditors are only displayed when the cell has focus.

There is a snippet for a table without viewer:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet126.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

Is there any way to mix the tableviewer concept with the above snippet
without patching the jface code ?

regards,
yves
Re: How can i place arbitrary controls in a table managed with a tableviewer ? [message #447412 is a reply to message #447404] Tue, 14 December 2004 14:55 Go to previous message
Chris Audley is currently offline Chris AudleyFriend
Messages: 41
Registered: July 2009
Member
Yves Harms wrote:
> How can I place arbitrary controls in table managed by a tableviewer ?
> Celleditors are only displayed when the cell has focus.
>
> There is a snippet for a table without viewer:
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet126.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
>
>
> Is there any way to mix the tableviewer concept with the above snippet
> without patching the jface code ?
>
> regards,
> yves

Use TableViewer.getTable() to get the underlying Table from the
TableViewer so that you can apply the technique from Snippet126

Cheers
Chris
Previous Topic:Visual Editor for SWT released yet?
Next Topic:Search for Folder contents on Java!!
Goto Forum:
  


Current Time: Tue Oct 27 08:49:47 GMT 2020

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

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

Back to the top