Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » KTable or SWT Table or ...
KTable or SWT Table or ... [message #463169] Fri, 28 October 2005 12:22 Go to next message
jmi is currently offline jmiFriend
Messages: 84
Registered: July 2009
Member
Hi,

I am currently writing a new SWT application with lot's of tables.

Now, which one to use? Who is using KTable? Why? WShat is the futur of KTable?

The KTable model idea is a good one for me. When i select a cell i get the object related to it easily and i can display the info. When you look at the samples it looks great.

Thanks

JMi
Re: KTable or SWT Table or ... [message #463173 is a reply to message #463169] Fri, 28 October 2005 13:10 Go to previous messageGo to next message
Yves Harms is currently offline Yves HarmsFriend
Messages: 80
Registered: July 2009
Member
Ktable has one weakness: it doesn't look like a native table.
(Especially on platforms other than windows)
For some projects this may be a problem, for others it simply doesnt matter.

> Hi,
>
> I am currently writing a new SWT application with lot's of tables.
>
> Now, which one to use? Who is using KTable? Why? WShat is the futur of KTable?
>
> The KTable model idea is a good one for me. When i select a cell i get the object related to it easily and i can display the info. When you look at the samples it looks great.
>
> Thanks
>
> JMi
Re: KTable or SWT Table or ... [message #463199 is a reply to message #463169] Sat, 29 October 2005 22:32 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 97
Registered: July 2009
Member
As a rule, use SWT widgets as much as possible!
This has many benefits in the long term.

Regards.


"jmi" <jmidelsaux@skynet.be> wrote in message
news:27975769.1130502206902.JavaMail.root@cp1.javalobby.org...
> Hi,
>
> I am currently writing a new SWT application with lot's of tables.
>
> Now, which one to use? Who is using KTable? Why? WShat is the futur of
> KTable?
>
> The KTable model idea is a good one for me. When i select a cell i get the
> object related to it easily and i can display the info. When you look at
> the samples it looks great.
>
> Thanks
>
> JMi
Re: KTable or SWT Table or ... [message #463220 is a reply to message #463173] Mon, 31 October 2005 18:34 Go to previous messageGo to next message
Lorenz Maierhofer is currently offline Lorenz MaierhoferFriend
Messages: 88
Registered: July 2009
Member
Ktable will never look native on every platform - as long as you don't
write specific cellrenderers that emulate every platform (which probably
is out of question).

On the other hand, being a custom control and not forcing any look
allows it to be used in many cases that differ from normal table
usecases but need a grid control anyway. For an example see the color
picker example.

I have an application that extensively uses tables as main controls for
user interaction - and at first I tried a SWT table based solution (in a
prototype). But I made the experience that overcoming restrictions of
the native table control (and there are many!) is really horrible and in
many cases practically impossible.

regards,
Lorenz

Yves Harms wrote:
> Ktable has one weakness: it doesn't look like a native table.
> (Especially on platforms other than windows)
> For some projects this may be a problem, for others it simply doesnt
> matter.
>
>> Hi,
>>
>> I am currently writing a new SWT application with lot's of tables.
>>
>> Now, which one to use? Who is using KTable? Why? WShat is the futur
>> of KTable?
>>
>> The KTable model idea is a good one for me. When i select a cell i get
>> the object related to it easily and i can display the info. When you
>> look at the samples it looks great.
>>
>> Thanks
>>
>> JMi
Re: KTable or SWT Table or ... [message #463223 is a reply to message #463169] Tue, 01 November 2005 07:30 Go to previous message
Vladimir Grishchenko is currently offline Vladimir GrishchenkoFriend
Messages: 76
Registered: July 2009
Member
Generally there is no point to use KTable as long as you can cope with the
standard SWT table restrictions. Arguably, using KTable is more work as
compared to the typical table/table viewer setup but it gives you
significantly more freedom in terms of what you can do with it.

--Vlad.


"jmi" <jmidelsaux@skynet.be> wrote in message
news:27975769.1130502206902.JavaMail.root@cp1.javalobby.org...
> Hi,
>
> I am currently writing a new SWT application with lot's of tables.
>
> Now, which one to use? Who is using KTable? Why? WShat is the futur of
KTable?
>
> The KTable model idea is a good one for me. When i select a cell i get the
object related to it easily and i can display the info. When you look at
the samples it looks great.
>
> Thanks
>
> JMi
Previous Topic:How to fire PropertyChangeEvent?
Next Topic:How to use ColorCellEditor
Goto Forum:
  


Current Time: Sat Dec 20 04:37:19 GMT 2014

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

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