Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » [TableViewer] Browsing large models
[TableViewer] Browsing large models [message #447638] Wed, 15 December 2004 16:55 Go to next message
Marcus Olk is currently offline Marcus OlkFriend
Messages: 130
Registered: July 2009
Senior Member
Hi folks.

I was wondering how you guys implement your GUIs for browsing
large model data sets in a Table widget using a TableViewer?

I managed to combine the Table widget with a TableViewer
and the required label an content providers. This works fine
for small amounts of data. So what's the plan for large data sets?

If one has to display a large set of rows she will soon notice
that there's a need for some kind of 'chunk mode' for displaying
just a 'hot window' on the whole set of data.

We implemented a corresponding control set in C++ already and
would like to avoid rewriting the whole stuff in Java?

Is there an appropriate SWT/JFace solution available, yet?
Are there any commmercial products dealing with this issue?

Cheers,
Marcus
Re: [TableViewer] Browsing large models [message #447650 is a reply to message #447638] Wed, 15 December 2004 22:29 Go to previous messageGo to next message
Chris Audley is currently offline Chris AudleyFriend
Messages: 41
Registered: July 2009
Member
The SWT mechanism for doing what you describe is virtual table. You
create a Table with the SWT.VIRTUAL style.

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

Cheers
Chris

Marcus Olk wrote:
> Hi folks.
>
> I was wondering how you guys implement your GUIs for browsing
> large model data sets in a Table widget using a TableViewer?
>
> I managed to combine the Table widget with a TableViewer
> and the required label an content providers. This works fine
> for small amounts of data. So what's the plan for large data sets?
>
> If one has to display a large set of rows she will soon notice
> that there's a need for some kind of 'chunk mode' for displaying
> just a 'hot window' on the whole set of data.
>
> We implemented a corresponding control set in C++ already and
> would like to avoid rewriting the whole stuff in Java?
>
> Is there an appropriate SWT/JFace solution available, yet?
> Are there any commmercial products dealing with this issue?
>
> Cheers,
> Marcus
Re: [TableViewer] Browsing large models [message #447655 is a reply to message #447650] Thu, 16 December 2004 06:27 Go to previous messageGo to next message
Marcus Olk is currently offline Marcus OlkFriend
Messages: 130
Registered: July 2009
Senior Member
Chris,

Chris Audley wrote:
> The SWT mechanism for doing what you describe is virtual table. You
> create a Table with the SWT.VIRTUAL style.

So, I'll have to use the SWT Table widget directly and can't use
the JFace TableViewer? I've seen SWT.VIRTUAL mentioned before but
couldn't see any effect when using a TableViewer. Are there any
plans to make the TableViewer supporting SWT.VIRTUAL?

Are there any thirdparty implementations solving this, yet?

Thanks,
Marcus
Re: [TableViewer] Browsing large models [message #447702 is a reply to message #447650] Thu, 16 December 2004 09:54 Go to previous messageGo to next message
Marcus Olk is currently offline Marcus OlkFriend
Messages: 130
Registered: July 2009
Senior Member
Chris Audley wrote:
> The SWT mechanism for doing what you describe is virtual table. You
> create a Table with the SWT.VIRTUAL style.

The virtual table mode requires the total amount of table items
to be shown before you create the widget (Table.setItemCount()), right?
If you want to quickly display the first 20 rows of a dataset of unknown
size, how are going to do this? Are repetitive calls of
Table.setItemCount() legal?

Marcus
Re: [TableViewer] Browsing large models [message #447716 is a reply to message #447702] Thu, 16 December 2004 15:40 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Yes.

"Marcus Olk" <molk@comosoft.de> wrote in message
news:cprm10$ng1$1@www.eclipse.org...
> Chris Audley wrote:
> > The SWT mechanism for doing what you describe is virtual table. You
> > create a Table with the SWT.VIRTUAL style.
>
> The virtual table mode requires the total amount of table items
> to be shown before you create the widget (Table.setItemCount()), right?
> If you want to quickly display the first 20 rows of a dataset of unknown
> size, how are going to do this? Are repetitive calls of
> Table.setItemCount() legal?
>
> Marcus
Re: [TableViewer] Browsing large models [message #448063 is a reply to message #447638] Thu, 30 December 2004 03:04 Go to previous message
Eclipse UserFriend
Originally posted by: thomas

Maybe you've already found something for your needs, but i happened upon
this just after reading your post and it seemed to address your need:

(spam URL removed by droy)

excerpt:

Includes powerful new SWT controls needed for data-aware applications:
a.. A Virtual Table control:
- allows full in-place editing using SWT controls
- only requests data it actually displays
b.. Date entry control
c.. Radio button group
d.. Check-box group

T

"Marcus Olk" wrote :
> Hi folks.
>
> I was wondering how you guys implement your GUIs for browsing
> large model data sets in a Table widget using a TableViewer?
>
> I managed to combine the Table widget with a TableViewer
> and the required label an content providers. This works fine
> for small amounts of data. So what's the plan for large data sets?
>
> If one has to display a large set of rows she will soon notice
> that there's a need for some kind of 'chunk mode' for displaying
> just a 'hot window' on the whole set of data.
>
> We implemented a corresponding control set in C++ already and
> would like to avoid rewriting the whole stuff in Java?
>
> Is there an appropriate SWT/JFace solution available, yet?
> Are there any commmercial products dealing with this issue?
>
> Cheers,
> Marcus

[Updated on: Mon, 03 May 2010 13:17] by Moderator

Report message to a moderator

Previous Topic:show advance options
Next Topic:Setting the traverse order to be different to created order
Goto Forum:
  


Current Time: Fri Oct 30 01:52:00 GMT 2020

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

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

Back to the top