Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Bug 366660 - Paginated table control(Our table and tree paginated control)
Bug 366660 - Paginated table control [message #1066050] Sat, 29 June 2013 13:03 Go to next message
Anatoliy Pogorelov is currently offline Anatoliy Pogorelov
Messages: 10
Registered: April 2013
Junior Member
Hello !

We'd like to share with you our working results concerning [Bug 366660] Paginated table control for futher duscussion. We have come to the necessity of developing this component as we have met quite often the need to display very long lists for user.

So, we have developed Pagination tree and Pagination table, which are based on slightly modified TreeViewer and TableViewer. In the attach you can find classes PageTableViewer and PageTreeViewer. They have common parent base class AbstractPageViewer.

The components under discussion have the next functionality:

- paging one by one;
- getting to the first and last page;
- setting the page number you want to get
- option to set the number of items per page;

For our paginating controls we have developed the feature for automatic breaking in a cell a long text line in parts. Line is broken by spaces, but a very long word can also be broken in parts. For column creating we use TreeColumnLayout и TableColumnLayout in order to automatically fix the last one. Classes describing trees and tables with line and word breaking are BaseTreeViewerN and BaseTableViewerN.

In attach you can find:

- PageTableViewer1.jpeg, PageTableViewer2.jpeg screenshots of our controls
- ResourceBlocksEditor.java editor example from screenshot
- AbstarctPageViewer.java paging base abstract class
- TablePageViewer.java table pagination realization
- TreePageViewer.java tree pagination realization
- BaseTableViewerN.java base class for table with line and word breaking
- BaseTreeViewerN.java base class for tree with line and word breaking

[Updated on: Sun, 30 June 2013 05:50]

Report message to a moderator

Re: Bug 366660 - Paginated table control [message #1066328 is a reply to message #1066050] Tue, 02 July 2013 08:10 Go to previous message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 386
Registered: July 2009
Senior Member
Hi.

Always good to see developers sharing their efforts with RAP components.
There also exists a RAP-compatible paging control[1] in the Nebula
project, how does it compare? If you plan to continue development on
this component I would suggest you host it on github, we can then put a
link there in our add-ons list[2].

Greetings,
Tim

[1] http://eclipse.org/nebula/widgets/pagination/pagination.php
[2] http://wiki.eclipse.org/RAP/Add-Ons

Am 29.06.2013 15:03, schrieb Anatoliy Pogorelov:
> Hello !
>
> We'd like to share with you our working results concerning [Bug 366660] Paginated table control for futher duscussion. We have come to the necessity of developing this component as we have met quite often the need to display very long lists for user.
>
> So, we have developed Pagination tree and Pagination table, which are based on slightly modified TreeViewer and TableViewer. In the attach you can find classes PageTableViewer and PageTreeViewer. They have common parent base class AbstractPageViewer.
>
> The components under discussion have the next functionality:
>
> - paging one by one;
> - getting to the first and last page;
> - setting the page number you want to get
> - option to set the number of items per page;
>
> For our paginating controls we have developed the feature for automatic breaking in a cell a long text line in parts. Line is broken by spaces, but a very long word can also be broken in parts. For column creating we use TreeColumnLayout О TableColumnLayout in order to automatically fix the last one. Classes describing trees and tables with line and word breaking are BaseTreeViewerN and BaseTableViewerN.
>
> In attach you can find:
>
> - PageTableViewer1.jpeg, PageTableViewer2.jpeg screenshots of our controls
> - ResourceBlocksEditor.java editor example from screenshot
> - AbstarctPageViewer.java paging base abstract class
> - TablePageViewer.java table pagination realization
> - TreePageViewer.java tree pagination realization
> - BaseTableViewerN.java base class for table with line and word breaking
> - BaseTreeViewerN.java base class for tree with line and word breaking
>

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:CVS Integration in RAP
Next Topic:toolitem's dynamic width to grab the right space of toolbar?
Goto Forum:
  


Current Time: Wed Oct 22 15:39:24 GMT 2014

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

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