Bug 366660 - Paginated table control [message #1066050] |
Sat, 29 June 2013 13:03 |
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.02826 seconds