1 /**********************************************************************
2 * Copyright (c) 2005, 2014 IBM Corporation, Ericsson
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
9 * IBM - Initial API and implementation
10 * Bernd Hufmann - Updated for TMF
11 **********************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.ui
.views
.uml2sd
.handlers
.provider
;
16 * Interface for providing an extended find provider.
18 * An advanced paging provider is able to compute number of pages, and to display the number of items it treats on each
19 * page and for total counts.<br>
20 * An item can be a message, a node or anything meaningful from loader standpoint.<br>
21 * Items are only here for information to the user.
26 public interface ISDAdvancedPagingProvider
extends ISDPagingProvider
{
29 * Returns the current page.
31 * @return the current page the loader is dealing with. <b>Note</b> that first page has the 0 index (indexes are from
32 * 0 to pagesCount()-1).
37 * Returns the number of pages.
39 * @return number of pages the loader is dealing with
44 * Instructs a load of the <pageNumber_><i>th</i> page.<br>
45 * <b>Note</b> that first page has the index 0 (indexes are from 0 to pagesCount()-1).
47 * @param pageNumber index of the page to load
49 void pageNumberChanged(int pageNumber
);