Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » table accepting all control as cell item
table accepting all control as cell item [message #448696] Thu, 13 January 2005 13:46 Go to next message
Eclipse UserFriend
Originally posted by: l.mimoun.chello.fr

Dear swt developper,

do you know if it exists a table component that accept all kinf of control
as cell item ?

if it does'nt could you please suggest me implementation of this using SWT ?

Thanks a lot,

Laurent Mimoun
Re: table accepting all control as cell item [message #448703 is a reply to message #448696] Thu, 13 January 2005 16:06 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
If you are looking to position controls in columns and rows, you could use a
GridLayout.

See:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet172.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

If you want to have an actual table control (headers, scrollbars, lines etc)
with other controls in some of the cells (e.g. a combo box) you can use
TableEditor in combination with Table.

See:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet149.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

<l.mimoun@chello.fr> wrote in message news:cs5ua2$7aa$1@www.eclipse.org...
> Dear swt developper,
>
> do you know if it exists a table component that accept all kinf of control
> as cell item ?
>
> if it does'nt could you please suggest me implementation of this using SWT
> ?
>
> Thanks a lot,
>
> Laurent Mimoun
>
>
Previous Topic:java.lang.UnsatisfiedLinkError: no swt-win32-3063 in java.library.path
Next Topic:Dynamic PopupMenu in an ObjectContribution
Goto Forum:
  


Current Time: Thu Apr 25 09:59:08 GMT 2024

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

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

Back to the top