A {@link RefreshListener} can be added to a {@link RefreshComposite} or a {@link RefreshHandler}. Implementations need to do the refresh work within the {@link RefreshListener#refresh()} method.
Please note: The refresh method will be called within the UIThread. This means you should not execute long running operations directly. Use a {@link Thread} for it and call the responsible done method after therefreshing was finished.
| |
| |
| |
| |
| |
| |
| |
| |