Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » KTable Composite cell renderer
KTable Composite cell renderer [message #464162] Thu, 17 November 2005 14:52 Go to next message
Patrick Paulin is currently offline Patrick PaulinFriend
Messages: 42
Registered: July 2009
Member
I'm interested in using KTable to support a display where there is one
cell per row, and that cell is rendered as an SWT Composite. I've been
looking at the cell renderer structure in KTable and I'm not sure this can
be made to work.

Has anyone done something similar, or is this just a dead end?

Thanks,

Patrick Paulin
patrick@marketcontours.com
www.marketcontours.com
Re: KTable Composite cell renderer [message #464197 is a reply to message #464162] Fri, 18 November 2005 15:32 Go to previous messageGo to next message
Lorenz Maierhofer is currently offline Lorenz MaierhoferFriend
Messages: 88
Registered: July 2009
Member
Hi,

I have no experience doing this - but I don't think that this would be a
problem.

I will try this with the existing cellrenderer interface and report
progress.

regards,
Lorenz

Patrick Paulin wrote:
> I'm interested in using KTable to support a display where there is one
> cell per row, and that cell is rendered as an SWT Composite. I've been
> looking at the cell renderer structure in KTable and I'm not sure this
> can be made to work.
>
> Has anyone done something similar, or is this just a dead end?
>
> Thanks,
>
> Patrick Paulin
> patrick@marketcontours.com
> www.marketcontours.com
>
>
Re: KTable Composite cell renderer [message #464239 is a reply to message #464197] Fri, 18 November 2005 21:57 Go to previous messageGo to next message
Lorenz Maierhofer is currently offline Lorenz MaierhoferFriend
Messages: 88
Registered: July 2009
Member
Hi,

Did a simple test - it works but getting the event handling correct is a
small nightmare.
It would probably better to implement the desired behavior by drawing
the appropriate controls directly...

I would be interested in the use case for that - in what situations
would it help?

regards,
Lorenz

Lorenz Maierhofer wrote:
> Hi,
>
> I have no experience doing this - but I don't think that this would be a
> problem.
>
> I will try this with the existing cellrenderer interface and report
> progress.
>
> regards,
> Lorenz
>
> Patrick Paulin wrote:
>
>> I'm interested in using KTable to support a display where there is one
>> cell per row, and that cell is rendered as an SWT Composite. I've been
>> looking at the cell renderer structure in KTable and I'm not sure this
>> can be made to work.
>>
>> Has anyone done something similar, or is this just a dead end?
>>
>> Thanks,
>>
>> Patrick Paulin
>> patrick@marketcontours.com
>> www.marketcontours.com
>>
>>
Re: KTable Composite cell renderer [message #464259 is a reply to message #464239] Sat, 19 November 2005 09:55 Go to previous messageGo to next message
Ivan is currently offline IvanFriend
Messages: 149
Registered: July 2009
Senior Member
Hi,

I'm interested in this way as well. I'm a Sybase PowerBuilder programmer
and
I'm get used to DataWindow which able to give you a very flexible way to
display
your data. Free style which mean you can place your column in anyway as
you like
and the grid is there if you prefer a very basic table style...

Thanks and i hope KTable able to do that. I like KTable very much!

Thanks for your all hardwork!
Re: KTable Composite cell renderer [message #464320 is a reply to message #464239] Mon, 21 November 2005 15:07 Go to previous messageGo to next message
Patrick Paulin is currently offline Patrick PaulinFriend
Messages: 42
Registered: July 2009
Member
Hi Lorenz,

Thanks for looking into this. My use case is that I'd like to display
multiple (and very wide) diagrams for a set of financial instruments (e.g.
stocks). Each diagram is actually a GEF viewer, which requires a composite
parent. The diagram for each instrument would be displayed in a KTable
row. The user could resize rows to view the diagrams at a larger size.

If you're finding this difficult, I'm definitely going to look for a
different approach. I'll probably wind up placing the diagrams right onto
a composite and allow the user to resize them in some other way (zoom
button, or something like that).

If you think of a way to do this in KTable, I'd appreciate it. Thanks
again for your help.

Patrick Paulin
patrick@marketcontours.com
www.marketcontours.com


Lorenz Maierhofer wrote:

> Hi,

> Did a simple test - it works but getting the event handling correct is a
> small nightmare.
> It would probably better to implement the desired behavior by drawing
> the appropriate controls directly...

> I would be interested in the use case for that - in what situations
> would it help?

> regards,
> Lorenz
Re: KTable Composite cell renderer [message #639127 is a reply to message #464162] Mon, 15 November 2010 11:49 Go to previous messageGo to next message
Swapnil Sawant is currently offline Swapnil SawantFriend
Messages: 1
Registered: November 2010
Junior Member
Hi Lorenz/Patrick/Evan,


I am also in need of Composite cell renderer for KTable.
I wish to put ScrolledForm (or any other SWT widget) in each KTable cell.

Any sample code for this would be of great help to me.



Thanks,
Swapnil



Re: KTable Composite cell renderer [message #735478 is a reply to message #639127] Wed, 12 October 2011 00:25 Go to previous message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
Are you doing this in RAP or RCP application.
Previous Topic:How to revalidate layout?
Next Topic:OS X: how to access system images
Goto Forum:
  


Current Time: Thu Apr 25 08:26:06 GMT 2024

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

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

Back to the top