Hi Angelo,

That looks really nice. Thanks for sharing this widget. Please file a bug 
against nebula/core and state your intent. 

Make sure to attach the sources so we can start the process.

Best regards,

Wim



On 13 dec. 2011, at 14:39, Angelo zerr <[email protected]> wrote:

> Hi Nebula Team,
> 
> We would like to give you our pagination+sort control to Nebula. We are using 
> this project in our RCP/RAP XDocReport application 
> http://xdocreport-rap.opensagres.cloudbees.net/xdocreport?startup=fr.opensagres.xdocreport.eclipse.ui.application
>  (Go at Resume module and click on Search and you will see the search resume 
> dialog, or please see attached SearchResume.png)
> 
> This project gives you the capability to manage pagination+sort in a SWT 
> Table and works too with RAP. This project is very modular and generic and it 
> could be used too for another SWT widgets (I think about NatTable or Tree).
> 
> It manages the 2 strategies pagination :
> 
> * Replace data in the table when you paginate (see SearchResume.png, 
> PaginationTable.png)
> * Add data in the table when you paginate(ex:you display 10 items, you scroll 
> to the last item and 10 items are loaded and added,).
> 
> Pagination can be rendered with several means:
> 
> * display page number, first, next, previous, last link (please see 
> PaginationTable.png)
> * display page in a scale (please see ScalePaginationTable.png
> * display page in a combo (please see ComboPaginationTable.png)
> * implement your own renderer.
> 
> But it's possible to implement your own renderer. I have called that 
> decorator. A decorator is a SWT Composite linked to a page controller which 
> control the pagination and fire events when page changed, etc
> So it's possible to synchronize decorator with page controller. The 
> AllDecorator.png screen display a SWT Table on the left and teh whole 
> decorator (scale, links, combo) available. When you modify a decorator 
> (ex;you click on page indes link, it refresh SWT Table but too the another 
> decorator (scale, combo etc....)
> 
> By defaut Spring Data Pagination structure is used :the pagination controller 
> implements Pageable Spring Data interface. Spring Data Pagination is not 
> linked to Spring, or JPA or another thing! It's just a Page structure. 
> If you know Spring Data with JPA you must just call your service layer with 
> pagination controller which implements Spring Data Pageable and pagination, 
> sort is doen automaticly with JPA, Big Data, Document stores, etc
> 
> I'm cleaning our XDocReport code to give you our pagination control. Are you 
> interested with this control??
> 
> Regards Angelo
> 
> 
> 
> <PaginationTable.png>
> <SearchResume.png>
> <ScalePaginationTable.png>
> <ComboPaginationTable.png>
> <AllDecorator.png>
> _______________________________________________
> nebula-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/nebula-dev

Reply via email to