Bug 366660 - Paginated table control [message #1066050] |
Sat, 29 June 2013 09:03  |
Eclipse User |
|
|
|
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 01:50] by Moderator
|
|
|
Re: Bug 366660 - Paginated table control [message #1066328 is a reply to message #1066050] |
Tue, 02 July 2013 04:10  |
Eclipse User |
|
|
|
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/
|
|
|
Powered by
FUDForum. Page generated in 0.02767 seconds