Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » how to do a "table of tables"
how to do a "table of tables" [message #464687] Mon, 28 November 2005 17:52 Go to next message
Albert Huh is currently offline Albert HuhFriend
Messages: 20
Registered: July 2009
Junior Member
The context of my problem is that I'm writing a database application and I
need to display the results of my queries. My main issue is that my query
results over one thousand result sets (and each result set may potentially
contain tens of thousands of rows).

Obviously, each result set is displayed as a virtual table. But in order to
link the virtual tables, I'm using a sash form. Is there anything that acts
like a sash form but also has a "virtual" property? Another way of looking
at this is that I need to draw a "table of tables" as suggested in the
subject. Each row in the parent table must be resizable. One absolute
requirement is that each result set must be resizable (that is why I
initially used a sashform).

Does anybody have any suggestions?

Thanks in advance for your help.
Re: how to do a "table of tables" [message #464691 is a reply to message #464687] Mon, 28 November 2005 21:04 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
You could use a virtual Tree (support added in 3.2). The root nodes could
be the result set identifiers and expanding the node could reveal the values
for that result set.

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

"Albert Huh?" <koedur@yahoo.ca> wrote in message
news:dmfg47$jch$1@news.eclipse.org...
> The context of my problem is that I'm writing a database application and I
> need to display the results of my queries. My main issue is that my query
> results over one thousand result sets (and each result set may potentially
> contain tens of thousands of rows).
>
> Obviously, each result set is displayed as a virtual table. But in order
> to link the virtual tables, I'm using a sash form. Is there anything that
> acts like a sash form but also has a "virtual" property? Another way of
> looking at this is that I need to draw a "table of tables" as suggested in
> the subject. Each row in the parent table must be resizable. One
> absolute requirement is that each result set must be resizable (that is
> why I initially used a sashform).
>
> Does anybody have any suggestions?
>
> Thanks in advance for your help.
>
Previous Topic:"Network Graphical editor"
Next Topic:Erasing a Canvas
Goto Forum:
  


Current Time: Fri Apr 26 16:39:06 GMT 2024

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

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

Back to the top