Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » KTable and Eclipse Forms
KTable and Eclipse Forms [message #465647] Fri, 16 December 2005 04:19 Go to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi all,

Has anybody tried to use KTable in Eclipse Forms ? What does it look like ?
I need to be certain that KTable looks like standard SWT tables when used
in Eclipse Forms.

Regards,

Setya
Re: KTable and Eclipse Forms [message #465649 is a reply to message #465647] Fri, 16 December 2005 08:03 Go to previous messageGo to next message
Lorenz Maierhofer is currently offline Lorenz MaierhoferFriend
Messages: 88
Registered: July 2009
Member
Hi,

Using KTable in Eclipse Forms should be no problem.
Regarding the look:
Since it is a custom control, you can exactly define what it should look
like (implement your own renderers).
In Forms you probably will want to use the flat header style - or draw
it more platform-like. Friedrich Kupzog pasted some code that can serve
as a base for a WinXP-like table header. Check the thread "Ktable too
slow - Any alternative" (13.12.2005)

Lorenz

Setya wrote:
> Hi all,
>
> Has anybody tried to use KTable in Eclipse Forms ? What does it look like ?
> I need to be certain that KTable looks like standard SWT tables when
> used in Eclipse Forms.
>
> Regards,
>
> Setya
>
Re: KTable and Eclipse Forms [message #465651 is a reply to message #465649] Fri, 16 December 2005 09:19 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Thanks Lorenz for the response,

> Hi,

> Using KTable in Eclipse Forms should be no problem.
> Regarding the look:
> Since it is a custom control, you can exactly define what it should look
> like (implement your own renderers).

Does it mean that I should use different renderers on every platform to
achieve the native look ? If so, this is so unfortunate since I don't have
skills nor knowledge to do custom widget drawing.

> In Forms you probably will want to use the flat header style - or draw
> it more platform-like. Friedrich Kupzog pasted some code that can serve
> as a base for a WinXP-like table header. Check the thread "Ktable too
> slow - Any alternative" (13.12.2005)

Thanks for the pointers, but what if I change the Windows theme to classic
?

BTW, I love KTable because of its architecture that's really like Swing's
JTable, but for the look I think we need some more work.


Regards,

Setya
Re: KTable and Eclipse Forms [message #465652 is a reply to message #465651] Fri, 16 December 2005 09:28 Go to previous messageGo to next message
Lorenz Maierhofer is currently offline Lorenz MaierhoferFriend
Messages: 88
Registered: July 2009
Member
Hi,

> Does it mean that I should use different renderers on every platform to
> achieve the native look ? If so, this is so unfortunate since I don't
> have skills nor knowledge to do custom widget drawing.

The flat style is designed to look acceptable on all platforms -
especially in an environment created using Eclipse Forms.

If you want a 100% real native look, you would have to implement special
renderers, or stick with the SWT table.
I would propose checking the examples that come with ktable on different
platforms and then decide if the look is suitable.
Re: KTable and Eclipse Forms [message #465653 is a reply to message #465652] Fri, 16 December 2005 09:50 Go to previous message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Thanks,

> The flat style is designed to look acceptable on all platforms -
> especially in an environment created using Eclipse Forms.

Well if so, there's nothing I should worry about, since I'll use Eclipse
Forms anyway.
I'm just afraid that KTable will not look like the rest of the SWT Widgets
when rendered in Eclipse Forms, since I've invested my time to migrate
from SWT Table to KTable, but not yet try it on Eclipse Forms.

Regards,

Setya
Previous Topic:TreeViewer and ILazyContentProvider
Next Topic:FormLayout
Goto Forum:
  


Current Time: Sat Apr 20 01:14:17 GMT 2024

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

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

Back to the top