Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Table : Multiple line cells?
Table : Multiple line cells? [message #438499] Sat, 26 June 2004 13:44 Go to next message
Marc Boorshtein is currently offline Marc BoorshteinFriend
Messages: 24
Registered: July 2009
Junior Member
Is there a way for a single row in a table to contain multiple lines?
For instance a log viewer where each message may have multiple lines.

Thanks!
Re: Table : Multiple line cells? [message #438500 is a reply to message #438499] Sat, 26 June 2004 14:42 Go to previous messageGo to next message
Lorenz Maierhofer is currently offline Lorenz MaierhoferFriend
Messages: 88
Registered: July 2009
Member
Marc Boorshtein wrote:

> Is there a way for a single row in a table to contain multiple lines?
> For instance a log viewer where each message may have multiple lines.

Hi,

multiple lines in a cell are not possible. See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=37998

But you could realize that with KTable, a custom-drawn table for SWT:
http://www.kupzog.de/fkmk_uk/Programming/Downloads/downloads .html

Lorenz
Re: Table : Multiple line cells? [message #438501 is a reply to message #438500] Sat, 26 June 2004 15:19 Go to previous messageGo to next message
Marc Boorshtein is currently offline Marc BoorshteinFriend
Messages: 24
Registered: July 2009
Junior Member
the bug report looks like i can fake this using a multi line cell editor?



Lorenz Maierhofer wrote:
> Marc Boorshtein wrote:
>
>> Is there a way for a single row in a table to contain multiple lines?
>> For instance a log viewer where each message may have multiple lines.
>
>
> Hi,
>
> multiple lines in a cell are not possible. See:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=37998
>
> But you could realize that with KTable, a custom-drawn table for SWT:
> http://www.kupzog.de/fkmk_uk/Programming/Downloads/downloads .html
>
> Lorenz
Re: Table : Multiple line cells? [message #438502 is a reply to message #438501] Sat, 26 June 2004 16:35 Go to previous messageGo to next message
Lorenz Maierhofer is currently offline Lorenz MaierhoferFriend
Messages: 88
Registered: July 2009
Member
Hi,

> the bug report looks like i can fake this using a multi line cell editor?

AFAIK Cell editors are for editing the cell content only and are
typically activated by some user action (like clicking). So there is
just one active and visible at a time.
Your use case sounds like this is not enought and you'd like to have
multiline content in all your lines.

Lorenz
Re: Table : Multiple line cells? [message #438503 is a reply to message #438502] Sat, 26 June 2004 18:29 Go to previous messageGo to next message
Marc Boorshtein is currently offline Marc BoorshteinFriend
Messages: 24
Registered: July 2009
Junior Member
this is a good point. I don't see a license for your table control...

Lorenz Maierhofer wrote:
> Hi,
>
>> the bug report looks like i can fake this using a multi line cell editor?
>
>
> AFAIK Cell editors are for editing the cell content only and are
> typically activated by some user action (like clicking). So there is
> just one active and visible at a time.
> Your use case sounds like this is not enought and you'd like to have
> multiline content in all your lines.
>
> Lorenz
Re: Table : Multiple line cells? [message #438504 is a reply to message #438503] Sat, 26 June 2004 18:49 Go to previous message
Lorenz Maierhofer is currently offline Lorenz MaierhoferFriend
Messages: 88
Registered: July 2009
Member
Marc Boorshtein wrote:

> this is a good point. I don't see a license for your table control...

Well, its definitely not mine, but I used it for a small application;-)

It is LGPLed.

Lorenz
Previous Topic:Eclipse 3 - Radio group showing only first icon.
Next Topic:ElementListSelectionDialog
Goto Forum:
  


Current Time: Thu Apr 25 15:58:58 GMT 2024

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

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

Back to the top